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

Packages that use ReferenceType
Package
Description
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.verifier.structurals
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
  Description
  `final class`
  `ArrayType`
  Denotes array type, such as int[][]
  `class`
  `ObjectType`
  Denotes reference such as `String`.
  Fields in org.apache.bcel.generic declared as ReferenceType
  Modifier and Type
  Field
  Description
  `static final ReferenceType`
  Type.`NULL`
  Methods in org.apache.bcel.generic that return ReferenceType
  Modifier and Type
  Method
  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`
  FieldOrMethod.`getReferenceType(ConstantPoolGen cpg)`
  Gets the reference type representing the class, interface, or array class referenced by the instruction.
  `ReferenceType`
  INVOKEDYNAMIC.`getReferenceType(ConstantPoolGen cpg)`
  Since InvokeDynamic doesn't refer to a reference type, just return `Object`, as that is the only type we can say for sure the reference will be.
  Methods in org.apache.bcel.generic with parameters of type ReferenceType
  Modifier and Type
  Method
  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
  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.