|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MethodInfo | |
---|---|
javassist | The Javassist Core API. |
javassist.bytecode | Bytecode-level API. |
javassist.bytecode.analysis | Bytecode Analysis API. |
javassist.bytecode.stackmap | |
javassist.compiler | |
javassist.convert | |
javassist.expr | This package contains the classes for modifying a method body. |
Uses of MethodInfo in javassist |
---|
Fields in javassist declared as MethodInfo | |
---|---|
protected MethodInfo |
CtBehavior.methodInfo
|
Methods in javassist that return MethodInfo | |
---|---|
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). |
Methods in javassist with parameters of type MethodInfo | |
---|---|
protected void |
CodeConverter.doit(CtClass clazz,
MethodInfo minfo,
ConstPool cp)
Performs code conversion. |
static CtMethod |
CtMethod.make(MethodInfo minfo,
CtClass declaring)
Creates a method from a MethodInfo object. |
Constructors in javassist with parameters of type MethodInfo | |
---|---|
CtBehavior(CtClass clazz,
MethodInfo minfo)
|
|
CtConstructor(MethodInfo minfo,
CtClass declaring)
|
Uses of MethodInfo in javassist.bytecode |
---|
Methods in javassist.bytecode that return MethodInfo | |
---|---|
MethodInfo |
ClassFile.getMethod(java.lang.String name)
Returns the method with the specified name. |
MethodInfo |
ClassFile.getStaticInitializer()
Returns a static initializer (class initializer), or null if it does not exist. |
Methods in javassist.bytecode with parameters of type MethodInfo | |
---|---|
void |
ClassFile.addMethod(MethodInfo minfo)
Appends a method to the class. |
Constructors in javassist.bytecode with parameters of type MethodInfo | |
---|---|
MethodInfo(ConstPool cp,
java.lang.String methodname,
MethodInfo src,
java.util.Map classnameMap)
Constructs a copy of method_info structure. |
Uses of MethodInfo in javassist.bytecode.analysis |
---|
Methods in javassist.bytecode.analysis with parameters of type MethodInfo | |
---|---|
Frame[] |
Analyzer.analyze(CtClass clazz,
MethodInfo method)
Performs data-flow analysis on a method and returns an array, indexed by instruction position, containing the starting frame state of all reachable instructions. |
void |
Executor.execute(MethodInfo method,
int pos,
CodeIterator iter,
Frame frame,
Subroutine subroutine)
Execute the instruction, modeling the effects on the specified frame and subroutine. |
Subroutine[] |
SubroutineScanner.scan(MethodInfo method)
|
Uses of MethodInfo in javassist.bytecode.stackmap |
---|
Methods in javassist.bytecode.stackmap with parameters of type MethodInfo | |
---|---|
static StackMapTable |
MapMaker.make(ClassPool classes,
MethodInfo minfo)
Computes the stack map table of the given method and returns it. |
BasicBlock[] |
BasicBlock.Maker.make(MethodInfo minfo)
|
static TypedBlock[] |
TypedBlock.makeBlocks(MethodInfo minfo,
CodeAttribute ca,
boolean optimize)
Divides the method body into basic blocks. |
Constructors in javassist.bytecode.stackmap with parameters of type MethodInfo | |
---|---|
MapMaker(ClassPool classes,
MethodInfo minfo,
CodeAttribute ca)
|
Uses of MethodInfo in javassist.compiler |
---|
Fields in javassist.compiler declared as MethodInfo | |
---|---|
MethodInfo |
MemberResolver.Method.info
|
protected MethodInfo |
MemberCodeGen.thisMethod
|
protected MethodInfo |
TypeChecker.thisMethod
|
Methods in javassist.compiler that return MethodInfo | |
---|---|
MethodInfo |
AccessorMaker.getFieldGetter(FieldInfo finfo,
boolean is_static)
Returns the method_info representing the added getter. |
MethodInfo |
AccessorMaker.getFieldSetter(FieldInfo finfo,
boolean is_static)
Returns the method_info representing the added setter. |
Methods in javassist.compiler with parameters of type MethodInfo | |
---|---|
protected java.lang.String |
MemberCodeGen.getAccessibleConstructor(java.lang.String desc,
CtClass declClass,
MethodInfo minfo)
|
protected java.lang.String |
MemberCodeGen.getAccessiblePrivate(java.lang.String methodName,
java.lang.String desc,
java.lang.String newDesc,
MethodInfo minfo,
CtClass declClass)
|
java.lang.String |
AccessorMaker.getConstructor(CtClass c,
java.lang.String desc,
MethodInfo orig)
|
java.lang.String |
AccessorMaker.getMethodAccessor(java.lang.String name,
java.lang.String desc,
java.lang.String accDesc,
MethodInfo orig)
Returns the name of the method for accessing a private method. |
MemberResolver.Method |
MemberResolver.lookupMethod(CtClass clazz,
CtClass currentClass,
MethodInfo current,
java.lang.String methodName,
int[] argTypes,
int[] argDims,
java.lang.String[] argClassNames)
|
void |
TypeChecker.setThisMethod(MethodInfo m)
Records the currently compiled method. |
Constructors in javassist.compiler with parameters of type MethodInfo | |
---|---|
MemberResolver.Method(CtClass c,
MethodInfo i,
int n)
|
Uses of MethodInfo in javassist.convert |
---|
Methods in javassist.convert with parameters of type MethodInfo | |
---|---|
void |
Transformer.initialize(ConstPool cp,
CtClass clazz,
MethodInfo minfo)
|
void |
TransformAccessArrayField.initialize(ConstPool cp,
CtClass clazz,
MethodInfo minfo)
|
Uses of MethodInfo in javassist.expr |
---|
Methods in javassist.expr with parameters of type MethodInfo | |
---|---|
boolean |
ExprEditor.doit(CtClass clazz,
MethodInfo minfo)
Undocumented method. |
Constructors in javassist.expr with parameters of type MethodInfo | |
---|---|
Cast(int pos,
CodeIterator i,
CtClass declaring,
MethodInfo m)
Undocumented constructor. |
|
ConstructorCall(int pos,
CodeIterator i,
CtClass decl,
MethodInfo m)
Undocumented constructor. |
|
Expr(int pos,
CodeIterator i,
CtClass declaring,
MethodInfo m)
Undocumented constructor. |
|
FieldAccess(int pos,
CodeIterator i,
CtClass declaring,
MethodInfo m,
int op)
|
|
Handler(ExceptionTable et,
int nth,
CodeIterator it,
CtClass declaring,
MethodInfo m)
Undocumented constructor. |
|
Instanceof(int pos,
CodeIterator i,
CtClass declaring,
MethodInfo m)
Undocumented constructor. |
|
MethodCall(int pos,
CodeIterator i,
CtClass declaring,
MethodInfo m)
Undocumented constructor. |
|
NewArray(int pos,
CodeIterator i,
CtClass declaring,
MethodInfo m,
int op)
|
|
NewExpr(int pos,
CodeIterator i,
CtClass declaring,
MethodInfo m,
java.lang.String type,
int np)
Undocumented constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |