Uses of Class
org.apache.bcel.classfile.Method
-
Packages that use Method Package Description org.apache.bcel.classfile This package contains the classes that describe the structure of a Java class file and a class file parser.org.apache.bcel.generic This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.org.apache.bcel.util This package contains utility classes for the Byte Code Engineering Library, namely:org.apache.bcel.verifier.statics Provides PassVerifier classes used internally by JustIce. -
-
Uses of Method in org.apache.bcel.classfile
Fields in org.apache.bcel.classfile declared as Method Modifier and Type Field Description private Method[]
ClassParser. methods
private Method[]
JavaClass. methods
Methods in org.apache.bcel.classfile that return Method Modifier and Type Method Description Method
Method. copy(ConstantPool _constant_pool)
Method
JavaClass. getMethod(java.lang.reflect.Method m)
Method[]
JavaClass. getMethods()
Methods in org.apache.bcel.classfile with parameters of type Method Modifier and Type Method Description void
JavaClass. setMethods(Method[] methods)
void
DescendingVisitor. visitMethod(Method method)
void
EmptyVisitor. visitMethod(Method obj)
void
Visitor. visitMethod(Method obj)
Constructors in org.apache.bcel.classfile with parameters of type Method Constructor Description JavaClass(int classNameIndex, int superclassNameIndex, java.lang.String fileName, int major, int minor, int access_flags, ConstantPool constantPool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes)
Constructor gets all contents as arguments.JavaClass(int classNameIndex, int superclassNameIndex, java.lang.String fileName, int major, int minor, int access_flags, ConstantPool constantPool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes, byte source)
Constructor gets all contents as arguments.Method(Method c)
Initialize from another object. -
Uses of Method in org.apache.bcel.generic
Fields in org.apache.bcel.generic with type parameters of type Method Modifier and Type Field Description private java.util.List<Method>
ClassGen. methodList
Methods in org.apache.bcel.generic that return Method Modifier and Type Method Description Method
ClassGen. containsMethod(java.lang.String name, java.lang.String signature)
Method
MethodGen. getMethod()
Get method object.Method
ClassGen. getMethodAt(int pos)
Method[]
ClassGen. getMethods()
Methods in org.apache.bcel.generic with parameters of type Method Modifier and Type Method Description void
ClassGen. addMethod(Method m)
Add a method to this class.private static byte[]
MethodGen. getByteCodes(Method method)
void
ClassGen. removeMethod(Method m)
Remove a method from this class.void
ClassGen. replaceMethod(Method old, Method new_)
Replace given method with new one.void
ClassGen. setMethodAt(Method method, int pos)
void
ClassGen. setMethods(Method[] methods)
Constructors in org.apache.bcel.generic with parameters of type Method Constructor Description MethodGen(Method method, java.lang.String className, ConstantPoolGen cp)
Instantiate from existing method. -
Uses of Method in org.apache.bcel.util
Fields in org.apache.bcel.util declared as Method Modifier and Type Field Description private Method[]
ConstantHTML. methods
Methods in org.apache.bcel.util with parameters of type Method Modifier and Type Method Description void
BCELifier. visitMethod(Method method)
private void
CodeHTML. writeMethod(Method method, int method_number)
Write a single method with the byte code associated with it.private void
MethodHTML. writeMethod(Method method, int method_number)
Constructors in org.apache.bcel.util with parameters of type Method Constructor Description CodeHTML(java.lang.String dir, java.lang.String class_name, Method[] methods, ConstantPool constant_pool, ConstantHTML constant_html)
ConstantHTML(java.lang.String dir, java.lang.String class_name, java.lang.String class_package, Method[] methods, ConstantPool constant_pool)
MethodHTML(java.lang.String dir, java.lang.String class_name, Method[] methods, Field[] fields, ConstantHTML constant_html, AttributeHTML attribute_html)
-
Uses of Method in org.apache.bcel.verifier.statics
Methods in org.apache.bcel.verifier.statics that return Method Modifier and Type Method Description private Method
Pass3aVerifier.InstOperandConstraintVisitor. getMethod(JavaClass jc, InvokeInstruction invoke)
Looks for the method referenced by the given invoke instruction in the given class.private Method
Pass3aVerifier.InstOperandConstraintVisitor. getMethodRecursive(JavaClass jc, InvokeInstruction invoke)
Looks for the method referenced by the given invoke instruction in the given class or its super classes and super interfaces.Methods in org.apache.bcel.verifier.statics with parameters of type Method Modifier and Type Method Description void
Pass2Verifier.CPESSC_Visitor. visitMethod(Method obj)
void
StringRepresentation. visitMethod(Method obj)
-