Uses of Class
org.apache.bcel.classfile.Method
Packages that use Method
Package
Description
This package contains the classes that describe the structure of a
Java class file and a class file parser.
This package contains the "generic" part of the
Byte Code Engineering
Library, i.e., classes to dynamically modify class objects and
byte code instructions.
This package contains utility classes for the
Byte Code Engineering
Library, namely:
Provides PassVerifier classes used internally by JustIce.
-
Uses of Method in org.apache.bcel.classfile
Methods in org.apache.bcel.classfile that return MethodModifier and TypeMethodDescriptionfinal Method
Method.copy
(ConstantPool _constant_pool) Method[]
JavaClass.getMethods()
Methods 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) Constructors in org.apache.bcel.classfile with parameters of type MethodModifierConstructorDescriptionJavaClass
(int class_name_index, int superclass_name_index, String file_name, int major, int minor, int access_flags, ConstantPool constant_pool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes) Constructor gets all contents as arguments.JavaClass
(int class_name_index, int superclass_name_index, String file_name, int major, int minor, int access_flags, ConstantPool constant_pool, 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
Methods in org.apache.bcel.generic that return MethodModifier and TypeMethodDescriptionClassGen.containsMethod
(String name, String signature) MethodGen.getMethod()
Get 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.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 MethodModifierConstructorDescriptionMethodGen
(Method m, String class_name, ConstantPoolGen cp) Instantiate from existing method. -
Uses of Method in org.apache.bcel.util
Methods in org.apache.bcel.util with parameters of type Method -
Uses of Method in org.apache.bcel.verifier.statics
Methods in org.apache.bcel.verifier.statics with parameters of type Method