## Uses of Class
org.apache.bcel.generic.ReferenceType

- Packages that use ReferenceType
  Package | Description
  --- | ---
  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.verifier.structurals | Provides a PassVerifier class mostly used internally by JustIce, yielding a control flow graph for public use as a nice side effect.

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

    Subclasses of ReferenceType in org.apache.bcel.generic
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ArrayType` Denotes array type, such as int[][]
    `class` | `ObjectType` Denotes reference such as java.lang.String.

    Fields in org.apache.bcel.generic declared as ReferenceType
    Modifier and Type | Field and Description
    --- | ---
    `static ReferenceType` | Type.`NULL`

    Methods in org.apache.bcel.generic that return ReferenceType
    Modifier and Type | Method and Description
    --- | ---
    `ReferenceType` | ReferenceType.`firstCommonSuperclass(ReferenceType t)` Deprecated. use getFirstCommonSuperclass(ReferenceType t) which has slightly changed semantics.
    `ReferenceType` | ReferenceType.`getFirstCommonSuperclass(ReferenceType t)` This commutative operation returns the first common superclass (narrowest ReferenceType referencing a class, not an interface).
    `ReferenceType` | INVOKEDYNAMIC.`getReferenceType(ConstantPoolGen cpg)` Since InvokeDynamic doesn't refer to a reference type, just return java.lang.Object, as that is the only type we can say for sure the reference will be.
    `ReferenceType` | FieldOrMethod.`getReferenceType(ConstantPoolGen cpg)` Return the reference type representing the class, interface, or array class referenced by the instruction.

    Methods in org.apache.bcel.generic with parameters of type ReferenceType
    Modifier and Type | Method and Description
    --- | ---
    `CHECKCAST` | InstructionFactory.`createCheckCast(ReferenceType t)`
    `INSTANCEOF` | InstructionFactory.`createInstanceOf(ReferenceType t)`
    `ReferenceType` | ReferenceType.`firstCommonSuperclass(ReferenceType t)` Deprecated. use getFirstCommonSuperclass(ReferenceType t) which has slightly changed semantics.
    `ReferenceType` | ReferenceType.`getFirstCommonSuperclass(ReferenceType t)` This commutative operation returns the first common superclass (narrowest ReferenceType referencing a class, not an interface).

  - ### Uses of ReferenceType in org.apache.bcel.verifier.structurals

    Subclasses of ReferenceType in org.apache.bcel.verifier.structurals
    Modifier and Type | Class and Description
    --- | ---
    `class` | `UninitializedObjectType` This class represents an uninitialized object type; see The Java Virtual Machine Specification, Second Edition, page 147: 4.9.4 for more details.

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