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

- Packages that use Field
  Package | Description
  --- | ---
  org.apache.bcel.classfile | This package contains the classes that describe the structure of a Java class file and a class file parser.
  org.apache.bcel.generic | This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.
  org.apache.bcel.util | This package contains utility classes for the Byte Code Engineering Library, namely:
  org.apache.bcel.verifier.statics | Provides 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 and Description
    --- | ---
    `static Field[]` | Field.`EMPTY_ARRAY` Empty array constant.

    Methods in org.apache.bcel.classfile that return Field
    Modifier and Type | Method and Description
    --- | ---
    `Field` | Field.`copy(ConstantPool constantPool)`
    `Field[]` | JavaClass.`getFields()`

    Methods in org.apache.bcel.classfile with parameters of type Field
    Modifier and Type | Method and Description
    --- | ---
    `void` | JavaClass.`setFields(Field[] fields)`
    `void` | EmptyVisitor.`visitField(Field obj)`
    `void` | Visitor.`visitField(Field obj)`
    `void` | DescendingVisitor.`visitField(Field field)`

    Constructors in org.apache.bcel.classfile with parameters of type Field
    Constructor and Description
    `Field(Field c)` Initialize from another object.
    `JavaClass(int classNameIndex, int superclassNameIndex, String fileName, int major, int minor, int access_flags, 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 access_flags, 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 and Description
    --- | ---
    `Field` | ClassGen.`containsField(String name)`
    `Field` | FieldGen.`getField()` Get 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 and 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 new_)` Replace given field with new one.

    Constructors in org.apache.bcel.generic with parameters of type Field
    Constructor and 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 and 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 and Description
    --- | ---
    `void` | StringRepresentation.`visitField(Field obj)`

Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.