MCPcopy Index your code
hub / github.com/Col-E/Recaf / search

Method search

src/main/java/me/coley/recaf/parse/bytecode/ast/AST.java:75–77  ·  view source on GitHub ↗

@param type Class of AST node type. @param Type of AST node. @return List of AST nodes of the given class type in the AST.

(Class<T> type)

Source from the content-addressed store, hash-verified

73 * @return List of AST nodes of the given class type in the AST.
74 */
75 public <T> List<T> search(Class<T> type) {
76 return search(type, new ArrayList<>());
77 }
78
79 @SuppressWarnings("unchecked")
80 private <T> List<T> search(Class<T> type, List<T> list) {

Callers 9

computeVariablesMethod · 0.45
compileMethod · 0.45
toAccessMethod · 0.45
compileMethod · 0.45
toExceptionsMethod · 0.45
visitMethod · 0.45
suggestMethod · 0.45
getModifierMaskMethod · 0.45
getDescriptorMethod · 0.45

Calls 3

getChildrenMethod · 0.95
getClassMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected