Uses of Class
org.apache.bcel.classfile.Method
Packages that use Method
Package
Description
Classes that describe the structure of a Java class file and a class file parser.
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects
and byte code instructions.
Utility classes for the Apache Byte Code Engineering Library (BCEL), namely:
Collection classes for JavaClass objects
A converter for class files to HTML
A tool to find instructions patterns via regular expressions
A class to find classes as defined in the CLASSPATH
A class loader that allows to create classes at run time
PassVerifier classes used internally by JustIce.
-
Uses of Method in org.apache.bcel.classfile
Fields in org.apache.bcel.classfile declared as MethodModifier and TypeFieldDescriptionstatic final Method[]
Method.EMPTY_ARRAY
Empty array constant.(package private) static final Method[]
Method.EMPTY_METHOD_ARRAY
Empty array.private Method[]
ClassParser.methods
private Method[]
JavaClass.methods
Fields in org.apache.bcel.classfile with type parameters of type MethodMethods in org.apache.bcel.classfile that return MethodModifier and TypeMethodDescriptionMethod.copy
(ConstantPool constantPool) Method[]
JavaClass.getMethods()
Methods in org.apache.bcel.classfile that return types with arguments of type MethodMethods in org.apache.bcel.classfile with parameters of type MethodModifier and TypeMethodDescriptionvoid
JavaClass.setMethods
(Method[] methods) void
DescendingVisitor.visitMethod
(Method method) void
EmptyVisitor.visitMethod
(Method obj) void
Visitor.visitMethod
(Method obj) Method parameters in org.apache.bcel.classfile with type arguments of type MethodModifier and TypeMethodDescriptionstatic void
Method.setComparator
(BCELComparator<Method> comparator) Constructors in org.apache.bcel.classfile with parameters of type MethodModifierConstructorDescriptionJavaClass
(int classNameIndex, int superclassNameIndex, String fileName, int major, int minor, int accessFlags, ConstantPool constantPool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes) Constructor gets all contents as arguments.JavaClass
(int classNameIndex, int superclassNameIndex, String fileName, int major, int minor, int accessFlags, ConstantPool constantPool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes, byte source) Constructor gets all contents as arguments.Initialize from another object. -
Uses of Method in org.apache.bcel.generic
Fields in org.apache.bcel.generic with type parameters of type MethodMethods in org.apache.bcel.generic that return MethodModifier and TypeMethodDescriptionClassGen.containsMethod
(String name, String signature) MethodGen.getMethod()
Gets method object.ClassGen.getMethodAt
(int pos) Method[]
ClassGen.getMethods()
Methods in org.apache.bcel.generic with parameters of type MethodModifier and TypeMethodDescriptionvoid
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 newMethod) 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 MethodModifierConstructorDescriptionMethodGen
(Method method, String className, ConstantPoolGen cp) Instantiate from existing method. -
Uses of Method in org.apache.bcel.util
Fields in org.apache.bcel.util declared as MethodMethods in org.apache.bcel.util with parameters of type MethodModifier and TypeMethodDescriptionvoid
BCELifier.visitMethod
(Method method) private void
CodeHTML.writeMethod
(Method method, int methodNumber) Write a single method with the byte code associated with it.private void
MethodHTML.writeMethod
(Method method, int methodNumber) Constructors in org.apache.bcel.util with parameters of type MethodModifierConstructorDescription(package private)
CodeHTML
(String dir, String className, Method[] methods, ConstantPool constantPool, ConstantHTML constantHtml, Charset charset) (package private)
ConstantHTML
(String dir, String className, String classPackage, Method[] methods, ConstantPool constantPool, Charset charset) (package private)
MethodHTML
(String dir, String className, Method[] methods, Field[] fields, ConstantHTML constantHtml, AttributeHTML attributeHtml, Charset charset) -
Uses of Method in org.apache.bcel.verifier.statics
Methods in org.apache.bcel.verifier.statics that return MethodModifier and TypeMethodDescriptionprivate 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 MethodModifier and TypeMethodDescriptionvoid
Pass2Verifier.CPESSC_Visitor.visitMethod
(Method obj) void
StringRepresentation.visitMethod
(Method obj)