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

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

  Fields in org.apache.bcel.generic declared as ObjectType
  Modifier and Type
  Field
  Description
  `static final ObjectType`
  Type.`CLASS`
  `static final ObjectType`
  Type.`OBJECT`
  `static final ObjectType`
  Type.`STRING`
  `static final ObjectType`
  Type.`STRINGBUFFER`
  `static final ObjectType`
  Type.`THROWABLE`
  Methods in org.apache.bcel.generic that return ObjectType
  Modifier and Type
  Method
  Description
  `ObjectType`
  CodeExceptionGen.`getCatchType()`
  Gets the type of the Exception to catch, 'null' for ANY.
  `ObjectType`
  FieldOrMethod.`getClassType(ConstantPoolGen cpg)`
  Deprecated.
  If the instruction references an array class, the ObjectType returned will be invalid.
  `static ObjectType`
  ObjectType.`getInstance(String className)`
  Constructs a new instance.
  `ObjectType`
  ANEWARRAY.`getLoadClassType(ConstantPoolGen cpg)`
  `ObjectType`
  CHECKCAST.`getLoadClassType(ConstantPoolGen cpg)`
  `ObjectType`
  FieldOrMethod.`getLoadClassType(ConstantPoolGen cpg)`
  Gets the ObjectType of the method return or field.
  `ObjectType`
  INSTANCEOF.`getLoadClassType(ConstantPoolGen cpg)`
  `ObjectType`
  LoadClass.`getLoadClassType(ConstantPoolGen cpg)`
  Returns the `ObjectType` of the referenced class or interface that may be loaded and resolved.
  `ObjectType`
  MULTIANEWARRAY.`getLoadClassType(ConstantPoolGen cpg)`
  `ObjectType`
  NEW.`getLoadClassType(ConstantPoolGen cpg)`
  Methods in org.apache.bcel.generic with parameters of type ObjectType
  Modifier and Type
  Method
  Description
  `boolean`
  ObjectType.`accessibleTo(ObjectType accessor)`
  Java Virtual Machine Specification edition 2, � 5.4.4 Access Control
  `int`
  ConstantPoolGen.`addClass(ObjectType type)`
  Add a new Class reference to the ConstantPool for a given type.
  `CodeExceptionGen`
  MethodGen.`addExceptionHandler(InstructionHandle startPc, InstructionHandle endPc, InstructionHandle handlerPc, ObjectType catchType)`
  Add an exception handler, i.e., specify region where a handler is active and an instruction where the actual handling is done.
  `NEW`
  InstructionFactory.`createNew(ObjectType t)`
  `void`
  CodeExceptionGen.`setCatchType(ObjectType catchType)`
  Sets the type of the Exception to catch.
  `boolean`
  ObjectType.`subclassOf(ObjectType superclass)`
  Return true if this type is a subclass of given ObjectType.
  Constructors in org.apache.bcel.generic with parameters of type ObjectType
  Modifier
  Constructor
  Description
  ``
  `AnnotationEntryGen(ObjectType type, List<ElementValuePairGen> elements, boolean vis, ConstantPoolGen cpool)`
  ``
  `ClassElementValueGen(ObjectType t, ConstantPoolGen cpool)`
  ``
  `CodeExceptionGen(InstructionHandle startPc, InstructionHandle endPc, InstructionHandle handlerPc, ObjectType catchType)`
  Add an exception handler, i.e., specify region where a handler is active and an instruction where the actual handling is done.
  ``
  `EnumElementValueGen(ObjectType t, String value, ConstantPoolGen cpool)`
  ``
  `PUSH(ConstantPoolGen cp, ObjectType value)`

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

  Methods in org.apache.bcel.verifier.structurals that return ObjectType
  Modifier and Type
  Method
  Description
  `ObjectType`
  ExceptionHandler.`getExceptionType()`
  Returns the type of the exception that's handled.
  `ObjectType`
  UninitializedObjectType.`getInitialized()`
  Returns the ObjectType of the same class as the one of the uninitialized object represented by this UninitializedObjectType instance.
  Constructors in org.apache.bcel.verifier.structurals with parameters of type ObjectType
  Modifier
  Constructor
  Description
  ``
  `OperandStack(int maxStack, ObjectType obj)`
  Creates an otherwise empty stack with a maximum of maxStack slots and the ObjectType 'obj' at the top.
  ``
  `UninitializedObjectType(ObjectType objectType)`
  Creates a new instance.