Uses of Class
javassist.bytecode.MethodInfo
Packages that use MethodInfo
Package
Description
The Javassist Core API.
Bytecode-level API.
Bytecode Analysis API.
This package contains the classes for modifying a method body.
Dynamic proxy (similar to
Enhancer of cglib).-
Uses of MethodInfo in javassist
Fields in javassist declared as MethodInfoMethods in javassist that return MethodInfoModifier and TypeMethodDescriptionCtBehavior.getMethodInfo()Returns theMethodInforepresenting this method/constructor in the class file.CtBehavior.getMethodInfo2()Returns theMethodInforepresenting the method/constructor in the class file (read only).Methods in javassist with parameters of type MethodInfoModifier and TypeMethodDescriptionprotected voidCodeConverter.doit(CtClass clazz, MethodInfo minfo, ConstPool cp) Performs code conversion.static CtMethodCtMethod.make(MethodInfo minfo, CtClass declaring) Creates a method from aMethodInfoobject.(package private) static voidCtBehavior.setBody0(CtClass srcClass, MethodInfo srcInfo, CtClass destClass, MethodInfo destInfo, ClassMap map) (package private) static Object[][]CtClassType.toAnnotationType(boolean ignoreNotFound, ClassPool cp, ParameterAnnotationsAttribute a1, ParameterAnnotationsAttribute a2, MethodInfo minfo) Constructors in javassist with parameters of type MethodInfoModifierConstructorDescriptionprotectedCtBehavior(CtClass clazz, MethodInfo minfo) protectedCtConstructor(MethodInfo minfo, CtClass declaring) (package private)CtMethod(MethodInfo minfo, CtClass declaring) -
Uses of MethodInfo in javassist.bytecode
Fields in javassist.bytecode with type parameters of type MethodInfoMethods in javassist.bytecode that return MethodInfoModifier and TypeMethodDescriptionReturns the method with the specified name.ClassFile.getStaticInitializer()Returns a static initializer (class initializer), or null if it does not exist.Methods in javassist.bytecode that return types with arguments of type MethodInfoModifier and TypeMethodDescriptionClassFile.getMethods()Returns all the methods declared in the class.Methods in javassist.bytecode with parameters of type MethodInfoModifier and TypeMethodDescriptionvoidClassFile.addMethod(MethodInfo minfo) Appends a method to the class.final voidClassFile.addMethod2(MethodInfo minfo) Just appends a method to the class.private static booleanClassFile.isDuplicated(MethodInfo newMethod, String newName, String newDesc, MethodInfo minfo, ListIterator<MethodInfo> it) private static booleanClassFile.notBridgeMethod(MethodInfo minfo) private voidprivate voidClassFile.testExistingMethod(MethodInfo newMinfo) Method parameters in javassist.bytecode with type arguments of type MethodInfoModifier and TypeMethodDescriptionprivate static booleanClassFile.isDuplicated(MethodInfo newMethod, String newName, String newDesc, MethodInfo minfo, ListIterator<MethodInfo> it) Constructors in javassist.bytecode with parameters of type MethodInfoModifierConstructorDescriptionBadBytecode(MethodInfo minfo, Throwable cause) MethodInfo(ConstPool cp, String methodname, MethodInfo src, Map<String, String> classnameMap) Constructs a copy ofmethod_infostructure. -
Uses of MethodInfo in javassist.bytecode.analysis
Fields in javassist.bytecode.analysis declared as MethodInfoModifier and TypeFieldDescription(package private) MethodInfoControlFlow.Block.methodprivate MethodInfoControlFlow.methodInfoMethods in javassist.bytecode.analysis with parameters of type MethodInfoModifier and TypeMethodDescriptionFrame[]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.private voidAnalyzer.analyzeNextEntry(MethodInfo method, CodeIterator iter, IntQueue queue, Executor executor) private Analyzer.ExceptionInfo[]Analyzer.buildExceptionInfo(MethodInfo method) voidExecutor.execute(MethodInfo method, int pos, CodeIterator iter, Frame frame, Subroutine subroutine) Execute the instruction, modeling the effects on the specified frame and subroutine.private FrameAnalyzer.firstFrame(MethodInfo method, int maxLocals, int maxStack) private voidAnalyzer.mergeExceptionHandlers(IntQueue queue, MethodInfo method, int pos, Frame frame) SubroutineScanner.scan(MethodInfo method) Constructors in javassist.bytecode.analysis with parameters of type MethodInfoModifierConstructorDescription(package private)Block(int pos, MethodInfo minfo) ControlFlow(CtClass ctclazz, MethodInfo minfo) Constructs a control-flow analyzer. -
Uses of MethodInfo in javassist.bytecode.stackmap
Methods in javassist.bytecode.stackmap with parameters of type MethodInfoModifier and TypeMethodDescriptionBasicBlock.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 javassist.bytecode.stackmap with parameters of type MethodInfo -
Uses of MethodInfo in javassist.compiler
Fields in javassist.compiler declared as MethodInfoModifier and TypeFieldDescriptionMemberResolver.Method.infoprotected MethodInfoMemberCodeGen.thisMethodprotected MethodInfoTypeChecker.thisMethodMethods in javassist.compiler that return MethodInfoModifier and TypeMethodDescriptionAccessorMaker.getFieldGetter(FieldInfo finfo, boolean is_static) Returns the method_info representing the added getter.AccessorMaker.getFieldSetter(FieldInfo finfo, boolean is_static) Returns the method_info representing the added setter.Methods in javassist.compiler with parameters of type MethodInfoModifier and TypeMethodDescriptionprotected StringMemberCodeGen.getAccessibleConstructor(String desc, CtClass declClass, MethodInfo minfo) protected StringMemberCodeGen.getAccessiblePrivate(String methodName, String desc, String newDesc, MethodInfo minfo, CtClass declClass) AccessorMaker.getConstructor(CtClass c, String desc, MethodInfo orig) AccessorMaker.getMethodAccessor(String name, String desc, String accDesc, MethodInfo orig) Returns the name of the method for accessing a private method.MemberResolver.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 javassist.compiler with parameters of type MethodInfo -
Uses of MethodInfo in javassist.convert
Methods in javassist.convert with parameters of type MethodInfoModifier and TypeMethodDescriptionprivate voidTransformAccessArrayField.initFrames(CtClass clazz, MethodInfo minfo) voidTransformAccessArrayField.initialize(ConstPool cp, CtClass clazz, MethodInfo minfo) voidTransformer.initialize(ConstPool cp, CtClass clazz, MethodInfo minfo) -
Uses of MethodInfo in javassist.expr
Fields in javassist.expr declared as MethodInfoMethods in javassist.expr with parameters of type MethodInfoModifier and TypeMethodDescriptionbooleanExprEditor.doit(CtClass clazz, MethodInfo minfo) Undocumented method.(package private) booleanExprEditor.doit(CtClass clazz, MethodInfo minfo, ExprEditor.LoopContext context, CodeIterator iterator, int endPos) Visits each bytecode in the given range.(package private) final booleanExprEditor.loopBody(CodeIterator iterator, CtClass clazz, MethodInfo minfo, ExprEditor.LoopContext context) Constructors in javassist.expr with parameters of type MethodInfoModifierConstructorDescriptionprotectedCast(int pos, CodeIterator i, CtClass declaring, MethodInfo m) Undocumented constructor.protectedConstructorCall(int pos, CodeIterator i, CtClass decl, MethodInfo m) Undocumented constructor.protectedExpr(int pos, CodeIterator i, CtClass declaring, MethodInfo m) Undocumented constructor.protectedFieldAccess(int pos, CodeIterator i, CtClass declaring, MethodInfo m, int op) protectedHandler(ExceptionTable et, int nth, CodeIterator it, CtClass declaring, MethodInfo m) Undocumented constructor.protectedInstanceof(int pos, CodeIterator i, CtClass declaring, MethodInfo m) Undocumented constructor.protectedMethodCall(int pos, CodeIterator i, CtClass declaring, MethodInfo m) Undocumented constructor.protectedNewArray(int pos, CodeIterator i, CtClass declaring, MethodInfo m, int op) protectedNewExpr(int pos, CodeIterator i, CtClass declaring, MethodInfo m, String type, int np) Undocumented constructor. -
Uses of MethodInfo in javassist.util.proxy
Methods in javassist.util.proxy that return MethodInfoModifier and TypeMethodDescriptionprivate static MethodInfoProxyFactory.makeConstructor(String thisClassName, Constructor<?> cons, ConstPool cp, Class<?> superClass, boolean doHandlerInit) private MethodInfoProxyFactory.makeDelegator(Method meth, String desc, ConstPool cp, Class<?> declClass, String delegatorName) private static MethodInfoProxyFactory.makeForwarder(String thisClassName, Method meth, String desc, ConstPool cp, Class<?> declClass, String delegatorName, int index, List<ProxyFactory.Find2MethodsArgs> forwarders) private static MethodInfoProxyFactory.makeWriteReplace(ConstPool cp) Methods in javassist.util.proxy with parameters of type MethodInfoModifier and TypeMethodDescriptionprivate static voidProxyFactory.setThrows(MethodInfo minfo, ConstPool cp, Class<?>[] exceptions) private static voidProxyFactory.setThrows(MethodInfo minfo, ConstPool cp, Method orig)