Uses of Class
javassist.bytecode.MethodInfo
Package
Description
The Javassist Core API.
Bytecode-level API.
Bytecode Analysis API.
This package contains the classes for modifying a method body.
-
Uses of MethodInfo in javassist
Modifier and TypeMethodDescriptionCtBehavior.getMethodInfo()
Returns theMethodInfo
representing this method/constructor in the class file.CtBehavior.getMethodInfo2()
Returns theMethodInfo
representing the method/constructor in the class file (read only).Modifier and TypeMethodDescriptionstatic CtMethod
CtMethod.make
(MethodInfo minfo, CtClass declaring) Creates a method from aMethodInfo
object. -
Uses of MethodInfo in javassist.bytecode
Modifier and TypeMethodDescriptionReturns the method with the specified name.ClassFile.getStaticInitializer()
Returns a static initializer (class initializer), or null if it does not exist.Modifier and TypeMethodDescriptionClassFile.getMethods()
Returns all the methods declared in the class.Modifier and TypeMethodDescriptionvoid
ClassFile.addMethod
(MethodInfo minfo) Appends a method to the class.final void
ClassFile.addMethod2
(MethodInfo minfo) Just appends a method to the class.ModifierConstructorDescriptionBadBytecode
(MethodInfo minfo, Throwable cause) MethodInfo
(ConstPool cp, String methodname, MethodInfo src, Map<String, String> classnameMap) Constructs a copy ofmethod_info
structure. -
Uses of MethodInfo in javassist.bytecode.analysis
Modifier 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.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.SubroutineScanner.scan
(MethodInfo method) ModifierConstructorDescriptionControlFlow
(CtClass ctclazz, MethodInfo minfo) Constructs a control-flow analyzer. -
Uses of MethodInfo in javassist.expr
Modifier and TypeMethodDescriptionboolean
ExprEditor.doit
(CtClass clazz, MethodInfo minfo) Undocumented method.