Uses of Class
org.hotswap.agent.javassist.bytecode.MethodInfo
-
Packages that use MethodInfo Package Description org.hotswap.agent.javassist The Javassist Core API.org.hotswap.agent.javassist.bytecode Bytecode-level API.org.hotswap.agent.javassist.bytecode.analysis Bytecode Analysis API.org.hotswap.agent.javassist.bytecode.stackmap org.hotswap.agent.javassist.compiler org.hotswap.agent.javassist.convert org.hotswap.agent.javassist.expr This package contains the classes for modifying a method body. -
-
Uses of MethodInfo in org.hotswap.agent.javassist
Fields in org.hotswap.agent.javassist declared as MethodInfo Modifier and Type Field Description protected MethodInfoCtBehavior. methodInfoMethods in org.hotswap.agent.javassist that return MethodInfo Modifier and Type Method Description MethodInfoCtBehavior. getMethodInfo()Returns theMethodInforepresenting this method/constructor in the class file.MethodInfoCtBehavior. getMethodInfo2()Returns theMethodInforepresenting the method/constructor in the class file (read only).Methods in org.hotswap.agent.javassist with parameters of type MethodInfo Modifier and Type Method Description protected voidCodeConverter. doit(CtClass clazz, MethodInfo minfo, ConstPool cp)Performs code conversion.static CtMethodCtMethod. make(MethodInfo minfo, CtClass declaring)Creates a method from aMethodInfoobject.Constructors in org.hotswap.agent.javassist with parameters of type MethodInfo Constructor Description CtBehavior(CtClass clazz, MethodInfo minfo)CtConstructor(MethodInfo minfo, CtClass declaring) -
Uses of MethodInfo in org.hotswap.agent.javassist.bytecode
Methods in org.hotswap.agent.javassist.bytecode that return MethodInfo Modifier and Type Method Description MethodInfoClassFile. getMethod(String name)Returns the method with the specified name.MethodInfoClassFile. getStaticInitializer()Returns a static initializer (class initializer), or null if it does not exist.Methods in org.hotswap.agent.javassist.bytecode that return types with arguments of type MethodInfo Modifier and Type Method Description List<MethodInfo>ClassFile. getMethods()Returns all the methods declared in the class.Methods in org.hotswap.agent.javassist.bytecode with parameters of type MethodInfo Modifier and Type Method Description voidClassFile. addMethod(MethodInfo minfo)Appends a method to the class.voidClassFile. addMethod2(MethodInfo minfo)Just appends a method to the class.Constructors in org.hotswap.agent.javassist.bytecode with parameters of type MethodInfo Constructor Description BadBytecode(MethodInfo minfo, Throwable cause)MethodInfo(ConstPool cp, String methodname, MethodInfo src, Map<String,String> classnameMap)Constructs a copy ofmethod_infostructure. -
Uses of MethodInfo in org.hotswap.agent.javassist.bytecode.analysis
Methods in org.hotswap.agent.javassist.bytecode.analysis with parameters of type MethodInfo Modifier and Type Method Description 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.voidExecutor. 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)Constructors in org.hotswap.agent.javassist.bytecode.analysis with parameters of type MethodInfo Constructor Description ControlFlow(CtClass ctclazz, MethodInfo minfo)Constructs a control-flow analyzer. -
Uses of MethodInfo in org.hotswap.agent.javassist.bytecode.stackmap
Methods in org.hotswap.agent.javassist.bytecode.stackmap with parameters of type MethodInfo Modifier and Type Method Description BasicBlock[]BasicBlock.Maker. make(MethodInfo minfo)static StackMapTableMapMaker. make(ClassPool classes, MethodInfo minfo)Computes the stack map table of the given method and returns it.static StackMapMapMaker. make2(ClassPool classes, MethodInfo minfo)Computes the stack map table for J2ME.static TypedBlock[]TypedBlock. makeBlocks(MethodInfo minfo, CodeAttribute ca, boolean optimize)Divides the method body into basic blocks.Constructors in org.hotswap.agent.javassist.bytecode.stackmap with parameters of type MethodInfo Constructor Description MapMaker(ClassPool classes, MethodInfo minfo, CodeAttribute ca) -
Uses of MethodInfo in org.hotswap.agent.javassist.compiler
Fields in org.hotswap.agent.javassist.compiler declared as MethodInfo Modifier and Type Field Description MethodInfoMemberResolver.Method. infoprotected MethodInfoMemberCodeGen. thisMethodprotected MethodInfoTypeChecker. thisMethodMethods in org.hotswap.agent.javassist.compiler that return MethodInfo Modifier and Type Method Description MethodInfoAccessorMaker. getFieldGetter(FieldInfo finfo, boolean is_static)Returns the method_info representing the added getter.MethodInfoAccessorMaker. getFieldSetter(FieldInfo finfo, boolean is_static)Returns the method_info representing the added setter.Methods in org.hotswap.agent.javassist.compiler with parameters of type MethodInfo Modifier and Type Method Description protected StringMemberCodeGen. getAccessibleConstructor(String desc, CtClass declClass, MethodInfo minfo)protected StringMemberCodeGen. getAccessiblePrivate(String methodName, String desc, String newDesc, MethodInfo minfo, CtClass declClass)StringAccessorMaker. getConstructor(CtClass c, String desc, MethodInfo orig)StringAccessorMaker. getMethodAccessor(String name, String desc, String accDesc, MethodInfo orig)Returns the name of the method for accessing a private method.MemberResolver.MethodMemberResolver. lookupMethod(CtClass clazz, CtClass currentClass, MethodInfo current, String methodName, int[] argTypes, int[] argDims, String[] argClassNames)voidTypeChecker. setThisMethod(MethodInfo m)Records the currently compiled method.Constructors in org.hotswap.agent.javassist.compiler with parameters of type MethodInfo Constructor Description Method(CtClass c, MethodInfo i, int n) -
Uses of MethodInfo in org.hotswap.agent.javassist.convert
Methods in org.hotswap.agent.javassist.convert with parameters of type MethodInfo Modifier and Type Method Description voidTransformAccessArrayField. initialize(ConstPool cp, CtClass clazz, MethodInfo minfo)voidTransformer. initialize(ConstPool cp, CtClass clazz, MethodInfo minfo) -
Uses of MethodInfo in org.hotswap.agent.javassist.expr
Methods in org.hotswap.agent.javassist.expr with parameters of type MethodInfo Modifier and Type Method Description booleanExprEditor. doit(CtClass clazz, MethodInfo minfo)Undocumented method.Constructors in org.hotswap.agent.javassist.expr with parameters of type MethodInfo Constructor Description 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, String type, int np)Undocumented constructor.
-