Uses of Class
org.apache.bcel.generic.ObjectType
Package
Description
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects
and byte code instructions.
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
Modifier and TypeFieldDescriptionstatic final ObjectType
Type.CLASS
static final ObjectType
Type.OBJECT
static final ObjectType
Type.STRING
static final ObjectType
Type.STRINGBUFFER
static final ObjectType
Type.THROWABLE
Modifier and TypeMethodDescriptionCodeExceptionGen.getCatchType()
Gets the type of the Exception to catch, 'null' for ANY.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.ANEWARRAY.getLoadClassType
(ConstantPoolGen cpg) CHECKCAST.getLoadClassType
(ConstantPoolGen cpg) FieldOrMethod.getLoadClassType
(ConstantPoolGen cpg) Gets the ObjectType of the method return or field.INSTANCEOF.getLoadClassType
(ConstantPoolGen cpg) LoadClass.getLoadClassType
(ConstantPoolGen cpg) Returns theObjectType
of the referenced class or interface that may be loaded and resolved.MULTIANEWARRAY.getLoadClassType
(ConstantPoolGen cpg) NEW.getLoadClassType
(ConstantPoolGen cpg) Modifier and TypeMethodDescriptionboolean
ObjectType.accessibleTo
(ObjectType accessor) Java Virtual Machine Specification edition 2, � 5.4.4 Access Controlint
ConstantPoolGen.addClass
(ObjectType type) Add a new Class reference to the ConstantPool for a given type.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.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.ModifierConstructorDescriptionAnnotationEntryGen
(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
Modifier and TypeMethodDescriptionExceptionHandler.getExceptionType()
Returns the type of the exception that's handled.UninitializedObjectType.getInitialized()
Returns the ObjectType of the same class as the one of the uninitialized object represented by this UninitializedObjectType instance.ModifierConstructorDescriptionOperandStack
(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.