|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MethodInfo | |
|---|---|
| org.cojen.classfile | |
| org.cojen.classfile.attribute | |
| Uses of MethodInfo in org.cojen.classfile |
|---|
| Methods in org.cojen.classfile that return MethodInfo | |
|---|---|
MethodInfo |
ClassFile.addConstructor(Modifiers modifiers,
TypeDesc[] params)
Add a constructor to this class. |
MethodInfo |
ClassFile.addDefaultConstructor()
Adds a public, no-arg constructor with the code buffer properly defined. |
MethodInfo |
ClassFile.addInitializer()
Add a static initializer to this class. |
MethodInfo |
ClassFile.addMethod(Method method)
Add a method to this class. |
MethodInfo |
ClassFile.addMethod(Modifiers modifiers,
String methodName,
MethodDesc md)
Add a method to this class. |
MethodInfo |
ClassFile.addMethod(Modifiers modifiers,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Add a method to this class. |
MethodInfo |
ClassFile.addMethod(String declaration)
Add a method to this class by declaration. |
MethodInfo[] |
ClassFile.getConstructors()
Returns all the constructors defined in this class. |
MethodInfo |
ClassFile.getInitializer()
Returns the static initializer defined in this class or null if there isn't one. |
MethodInfo[] |
ClassFile.getMethods()
Returns all the methods defined in this class, not including constructors and static initializers. |
| Constructors in org.cojen.classfile with parameters of type MethodInfo | |
|---|---|
CodeBuilder(MethodInfo info)
Construct a CodeBuilder for the CodeAttr of the given MethodInfo. |
|
CodeBuilder(MethodInfo info,
boolean saveLineNumberInfo,
boolean saveLocalVariableInfo)
Construct a CodeBuilder for the CodeAttr of the given MethodInfo. |
|
CodeDisassembler(MethodInfo method)
|
|
NullCodeAssembler(MethodInfo mi)
|
|
| Uses of MethodInfo in org.cojen.classfile.attribute |
|---|
| Methods in org.cojen.classfile.attribute with parameters of type MethodInfo | |
|---|---|
void |
StackMapTableAttr.initialStackMapFrame(MethodInfo method)
|
void |
CodeAttr.initialStackMapFrame(MethodInfo method)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||