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

Method getNode

java/org/apache/jasper/compiler/Node.java:2795–2803  ·  view source on GitHub ↗

Returns the node at the given index. @param index The index of the node to retrieve @return The node at the given index, or null if out of bounds

(int index)

Source from the content-addressed store, hash-verified

2793 * @return The node at the given index, or null if out of bounds
2794 */
2795 public Node getNode(int index) {
2796 Node n = null;
2797 try {
2798 n = list.get(index);
2799 } catch (IndexOutOfBoundsException e) {
2800 // Ignore
2801 }
2802 return n;
2803 }
2804
2805 /**
2806 * Returns the root node of this collection.

Callers 15

testBug54240Method · 0.95
getNamedAttributeNodeMethod · 0.95
hasEmptyBodyMethod · 0.95
getTextMethod · 0.45
getStartMethod · 0.45
endElementMethod · 0.45
checkScriptingBodyMethod · 0.45
checkAttributesMethod · 0.45
parseNamedAttributesMethod · 0.45
visitMethod · 0.45
checkNamedAttributesMethod · 0.45

Calls 1

getMethod · 0.65

Tested by 1

testBug54240Method · 0.76