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

Packages that use Field
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 Field in org.apache.bcel.classfile

  Fields in org.apache.bcel.classfile declared as Field
  Modifier and Type
  Field
  Description
  `static final Field[]`
  Field.`EMPTY_ARRAY`
  Empty array constant.
  Methods in org.apache.bcel.classfile that return Field
  Modifier and Type
  Method
  Description
  `Field`
  Field.`copy(ConstantPool constantPool)`
  `Field`
  JavaClass.`findField(String fieldName, Type fieldType)`
  Finds a visible field by name and type in this class and its super classes.
  `Field[]`
  JavaClass.`getFields()`
  Methods in org.apache.bcel.classfile that return types with arguments of type Field
  Modifier and Type
  Method
  Description
  `static BCELComparator<Field>`
  Field.`getComparator()`
  Methods in org.apache.bcel.classfile with parameters of type Field
  Modifier and Type
  Method
  Description
  `void`
  JavaClass.`setFields(Field[] fields)`
  `void`
  DescendingVisitor.`visitField(Field field)`
  `void`
  EmptyVisitor.`visitField(Field obj)`
  `void`
  Visitor.`visitField(Field obj)`
  Method parameters in org.apache.bcel.classfile with type arguments of type Field
  Modifier and Type
  Method
  Description
  `static void`
  Field.`setComparator(BCELComparator<Field> comparator)`
  Constructors in org.apache.bcel.classfile with parameters of type Field
  Modifier
  Constructor
  Description
  ``
  `Field(Field c)`
  Initialize from another object.
  ``
  `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.

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

  Methods in org.apache.bcel.generic that return Field
  Modifier and Type
  Method
  Description
  `Field`
  ClassGen.`containsField(String name)`
  `Field`
  FieldGen.`getField()`
  Gets field object after having set up all necessary values.
  `Field[]`
  ClassGen.`getFields()`
  Methods in org.apache.bcel.generic with parameters of type Field
  Modifier and Type
  Method
  Description
  `void`
  ClassGen.`addField(Field f)`
  Add a field to this class.
  `boolean`
  ClassGen.`containsField(Field f)`
  `void`
  ClassGen.`removeField(Field f)`
  Remove a field to this class.
  `void`
  ClassGen.`replaceField(Field old, Field newField)`
  Replace given field with new one.
  Constructors in org.apache.bcel.generic with parameters of type Field
  Modifier
  Constructor
  Description
  ``
  `FieldGen(Field field, ConstantPoolGen cp)`
  Instantiate from existing field.

- ## Uses of Field in org.apache.bcel.util

  Methods in org.apache.bcel.util with parameters of type Field
  Modifier and Type
  Method
  Description
  `void`
  BCELifier.`visitField(Field field)`

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

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