| Package | Description |
|---|---|
| xapi.bytecode |
| Modifier and Type | Method and Description |
|---|---|
CtMethod |
CtClass.getDeclaredMethod(String name)
Retrieves the method with the specified name among the methods
declared in the class.
|
CtMethod |
CtClass.getDeclaredMethod(String name,
CtClass[] params)
Retrieves the method with the specified name and parameter types
among the methods declared in the class.
|
CtMethod[] |
CtClass.getDeclaredMethods()
Gets all methods declared in the class.
|
CtMethod |
CtClass.getMethod(String name,
String desc)
Returns the method with the given name and signature.
|
CtMethod[] |
CtClass.getMethods()
Returns an array containing
CtMethod objects
representing all the non-private methods of the class. |
static CtMethod |
CtMethod.make(MethodInfo minfo,
CtClass declaring)
Creates a method from a
MethodInfo object. |
Copyright © 2012-2013 The Internet Party. All Rights Reserved.