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

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

    Fields in org.apache.bcel.generic declared as ObjectType
    Modifier and Type | Field and Description
    --- | ---
    `static ObjectType` | Type.`CLASS`
    `static ObjectType` | Type.`OBJECT`
    `static ObjectType` | Type.`STRING`
    `static ObjectType` | Type.`STRINGBUFFER`
    `static ObjectType` | Type.`THROWABLE`

    Methods in org.apache.bcel.generic that return ObjectType
    Modifier and Type | Method and 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. Use getReferenceType() instead.
    `static ObjectType` | ObjectType.`getInstance(String class_name)`
    `ObjectType` | NEW.`getLoadClassType(ConstantPoolGen cpg)`
    `ObjectType` | MULTIANEWARRAY.`getLoadClassType(ConstantPoolGen cpg)`
    `ObjectType` | LoadClass.`getLoadClassType(ConstantPoolGen cpg)` Returns the ObjectType of the referenced class or interface that may be loaded and resolved.
    `ObjectType` | INSTANCEOF.`getLoadClassType(ConstantPoolGen cpg)`
    `ObjectType` | FieldOrMethod.`getLoadClassType(ConstantPoolGen cpg)` Get the ObjectType of the method return or field.
    `ObjectType` | CHECKCAST.`getLoadClassType(ConstantPoolGen cpg)`
    `ObjectType` | ANEWARRAY.`getLoadClassType(ConstantPoolGen cpg)`

    Methods in org.apache.bcel.generic with parameters of type ObjectType
    Modifier and Type | Method and 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 start_pc, InstructionHandle end_pc, InstructionHandle handler_pc, ObjectType catch_type)` 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 catch_type)` 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
    Constructor and Description
    `AnnotationEntryGen(ObjectType type, List<ElementValuePairGen> elements, boolean vis, ConstantPoolGen cpool)`
    `ClassElementValueGen(ObjectType t, ConstantPoolGen cpool)`
    `CodeExceptionGen(InstructionHandle start_pc, InstructionHandle end_pc, InstructionHandle handler_pc, ObjectType catch_type)` 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 and 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
    Constructor and 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 t)` Creates a new instance.

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