MCPcopy Index your code
hub / github.com/apache/tomcat / apply

Method apply

java/org/apache/jasper/compiler/TagPluginManager.java:62–70  ·  view source on GitHub ↗

Applies tag plugin optimizations to the given page. @param page the page node tree @param err the error dispatcher @param pageInfo page information @throws JasperException if an error occurs during optimization

(Node.Nodes page, ErrorDispatcher err, PageInfo pageInfo)

Source from the content-addressed store, hash-verified

60 * @throws JasperException if an error occurs during optimization
61 */
62 public void apply(Node.Nodes page, ErrorDispatcher err, PageInfo pageInfo) throws JasperException {
63
64 if (!initialized) {
65 init(err);
66 }
67 if (!tagPlugins.isEmpty()) {
68 page.visit(new NodeVisitor(this, pageInfo));
69 }
70 }
71
72 private synchronized void init(ErrorDispatcher err) throws JasperException {
73 if (initialized) {

Callers 2

testBug54240Method · 0.95
generateJavaMethod · 0.95

Calls 3

initMethod · 0.95
visitMethod · 0.65
isEmptyMethod · 0.45

Tested by 1

testBug54240Method · 0.76