Uses of Class
org.apache.bcel.classfile.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
Modifier and TypeMethodDescriptionMethod.copy
(ConstantPool constantPool) Method[]
JavaClass.getMethods()
Modifier and TypeMethodDescriptionvoid
JavaClass.setMethods
(Method[] methods) void
DescendingVisitor.visitMethod
(Method method) void
EmptyVisitor.visitMethod
(Method obj) void
Visitor.visitMethod
(Method obj) Modifier and TypeMethodDescriptionstatic void
Method.setComparator
(BCELComparator<Method> comparator) ModifierConstructorDescriptionJavaClass
(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
Modifier and TypeMethodDescriptionClassGen.containsMethod
(String name, String signature) MethodGen.getMethod()
Gets method object.ClassGen.getMethodAt
(int pos) Method[]
ClassGen.getMethods()
Modifier and TypeMethodDescriptionvoid
Add a method to this class.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) ModifierConstructorDescriptionMethodGen
(Method method, String className, ConstantPoolGen cp) Instantiate from existing method. -
Uses of Method in org.apache.bcel.util
-
Uses of Method in org.apache.bcel.verifier.statics