| Package | Description |
|---|---|
| jdk7u.jaxp.org.apache.bcel.external.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.
|
| Modifier and Type | Field and Description |
|---|---|
static ObjectType |
Type.OBJECT |
static ObjectType |
Type.STRING |
static ObjectType |
Type.STRINGBUFFER |
static ObjectType |
Type.THROWABLE |
| 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) |
ObjectType |
ANEWARRAY.getLoadClassType(ConstantPoolGen cpg) |
ObjectType |
CHECKCAST.getLoadClassType(ConstantPoolGen cpg) |
ObjectType |
FieldOrMethod.getLoadClassType(ConstantPoolGen cpg) |
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) |
| 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) |
| Constructor and Description |
|---|
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.
|
Copyright © 2018–2021 mhoffrogge. All rights reserved.