public class MethodGrabbingVisitor extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MethodGrabbingVisitor.ClassFinder |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
getMethods(org.codehaus.janino.Java.CompilationUnit compilationUnit,
Class<?> clazz)
Creates a map with all method names and their modified bodies
from specified
Java.CompilationUnit. |
public static Map<String,String> getMethods(org.codehaus.janino.Java.CompilationUnit compilationUnit, Class<?> clazz)
Java.CompilationUnit.compilationUnit - the source of the methods to collectclazz - type of the class to handleCopyright © 2021 The Apache Software Foundation. All rights reserved.