# Uses of Class
org.apache.bcel.classfile.Method

Packages that use Method
Package
Description
org.apache.bcel.classfile
Classes that describe the structure of a Java class file and a class file parser.
org.apache.bcel.generic
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects and byte code instructions.
org.apache.bcel.util
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
org.apache.bcel.verifier.statics
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
  `static final Method[]`
  Method.`EMPTY_ARRAY`
  Empty array constant.
  Methods in org.apache.bcel.classfile that return Method
  Modifier and Type
  Method
  Description
  `Method`
  Method.`copy(ConstantPool constantPool)`
  `Method`
  JavaClass.`getMethod(Method m)`
  `Method[]`
  JavaClass.`getMethods()`
  Methods in org.apache.bcel.classfile that return types with arguments of type Method
  Modifier and Type
  Method
  Description
  `static BCELComparator<Method>`
  Method.`getComparator()`
  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)`
  Method parameters in org.apache.bcel.classfile with type arguments of type Method
  Modifier and Type
  Method
  Description
  `static void`
  Method.`setComparator(BCELComparator<Method> comparator)`
  Constructors in org.apache.bcel.classfile with parameters of type Method
  Modifier
  Constructor
  Description
  ``
  `JavaClass(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.
  ``
  `Method(Method c)`
  Initialize from another object.

- ## Uses of Method in org.apache.bcel.generic

  Methods in org.apache.bcel.generic that return Method
  Modifier and Type
  Method
  Description
  `Method`
  ClassGen.`containsMethod(String name, String signature)`
  `Method`
  MethodGen.`getMethod()`
  Gets 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.
  `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 Method
  Modifier
  Constructor
  Description
  ``
  `MethodGen(Method method, String className, 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
  Modifier and Type
  Method
  Description
  `void`
  BCELifier.`visitMethod(Method method)`

- ## Uses of Method in org.apache.bcel.verifier.statics

  Methods in org.apache.bcel.verifier.statics with parameters of type Method
  Modifier and Type
  Method
  Description
  `void`
  StringRepresentation.`visitMethod(Method obj)`