| Package | Description |
|---|---|
| xapi.bytecode |
| Modifier and Type | Field and Description |
|---|---|
protected MethodInfo |
CtBehavior.methodInfo |
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
ClassFile.getMethod(String name)
Returns the method with the specified name.
|
MethodInfo |
CtBehavior.getMethodInfo()
Returns the MethodInfo representing this method/constructor in the
class file.
|
MethodInfo |
CtBehavior.getMethodInfo2()
Returns the MethodInfo representing the method/constructor in the
class file (read only).
|
| Modifier and Type | Method and Description |
|---|---|
List<MethodInfo> |
ClassFile.getMethods()
Returns all the methods declared in the class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClassFile.addMethod(MethodInfo minfo)
Just appends a method to the class.
|
static CtMethod |
CtMethod.make(MethodInfo minfo,
CtClass declaring)
Creates a method from a
MethodInfo object. |
| Constructor and Description |
|---|
CtBehavior(CtClass clazz,
MethodInfo minfo) |
CtConstructor(MethodInfo minfo,
CtClass declaring) |
MethodInfo(ConstPool cp,
String methodname,
MethodInfo src,
Map<?,?> classnameMap)
Constructs a copy of
method_info structure. |
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.