| 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.
|
| jdk7u.jaxp.org.apache.xalan.external.xsltc.compiler.util |
| Modifier and Type | Field and Description |
|---|---|
protected ConstantPoolGen |
FieldGenOrMethodGen.cp |
protected ConstantPoolGen |
InstructionFactory.cp |
| Modifier and Type | Method and Description |
|---|---|
ConstantPoolGen |
ClassGen.getConstantPool() |
ConstantPoolGen |
FieldGenOrMethodGen.getConstantPool() |
ConstantPoolGen |
InstructionFactory.getConstantPool() |
| Modifier and Type | Method and Description |
|---|---|
int |
ConstantPoolGen.addConstant(Constant c,
ConstantPoolGen cp)
Import constant from another ConstantPool and return new index.
|
int |
Instruction.consumeStack(ConstantPoolGen cpg)
This method also gives right results for instructions whose
effect on the stack depends on the constant pool entry they
reference.
|
int |
InvokeInstruction.consumeStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the
constant pool entry they reference.
|
int |
INVOKEINTERFACE.consumeStack(ConstantPoolGen cpg) |
int |
MULTIANEWARRAY.consumeStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the
constant pool entry they reference.
|
int |
PUTFIELD.consumeStack(ConstantPoolGen cpg) |
int |
PUTSTATIC.consumeStack(ConstantPoolGen cpg) |
int |
StackConsumer.consumeStack(ConstantPoolGen cpg) |
FieldGen |
FieldGen.copy(ConstantPoolGen cp) |
MethodGen |
MethodGen.copy(String class_name,
ConstantPoolGen cp) |
Type[] |
InvokeInstruction.getArgumentTypes(ConstantPoolGen cpg) |
String |
FieldOrMethod.getClassName(ConstantPoolGen cpg) |
ObjectType |
FieldOrMethod.getClassType(ConstantPoolGen cpg) |
CodeException |
CodeExceptionGen.getCodeException(ConstantPoolGen cp)
Get CodeException object.
|
String |
FieldInstruction.getFieldName(ConstantPoolGen cpg) |
protected int |
FieldInstruction.getFieldSize(ConstantPoolGen cpg) |
Type |
FieldInstruction.getFieldType(ConstantPoolGen cpg) |
LineNumberTable |
MethodGen.getLineNumberTable(ConstantPoolGen cp) |
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) |
LocalVariable |
LocalVariableGen.getLocalVariable(ConstantPoolGen cp)
Get LocalVariable object.
|
LocalVariableTable |
MethodGen.getLocalVariableTable(ConstantPoolGen cp) |
static int |
MethodGen.getMaxStack(ConstantPoolGen cp,
InstructionList il,
CodeExceptionGen[] et)
Computes stack usage of an instruction list by performing control flow analysis.
|
String |
InvokeInstruction.getMethodName(ConstantPoolGen cpg) |
String |
FieldOrMethod.getName(ConstantPoolGen cpg) |
Type |
InvokeInstruction.getReturnType(ConstantPoolGen cpg) |
String |
FieldOrMethod.getSignature(ConstantPoolGen cpg) |
Type |
ACONST_NULL.getType(ConstantPoolGen cp) |
Type |
ArithmeticInstruction.getType(ConstantPoolGen cp) |
Type |
ArrayInstruction.getType(ConstantPoolGen cp) |
Type |
BIPUSH.getType(ConstantPoolGen cp) |
Type |
ConversionInstruction.getType(ConstantPoolGen cp) |
Type |
CPInstruction.getType(ConstantPoolGen cpg) |
Type |
DCMPG.getType(ConstantPoolGen cp) |
Type |
DCMPL.getType(ConstantPoolGen cp) |
Type |
DCONST.getType(ConstantPoolGen cp) |
Type |
FCMPG.getType(ConstantPoolGen cp) |
Type |
FCMPL.getType(ConstantPoolGen cp) |
Type |
FCONST.getType(ConstantPoolGen cp) |
Type |
FieldInstruction.getType(ConstantPoolGen cpg) |
Type |
ICONST.getType(ConstantPoolGen cp) |
Type |
IINC.getType(ConstantPoolGen cp) |
Type |
InvokeInstruction.getType(ConstantPoolGen cpg) |
Type |
JsrInstruction.getType(ConstantPoolGen cp) |
Type |
LCMP.getType(ConstantPoolGen cp) |
Type |
LCONST.getType(ConstantPoolGen cp) |
Type |
LDC.getType(ConstantPoolGen cpg) |
Type |
LDC2_W.getType(ConstantPoolGen cpg) |
Type |
LoadClass.getType(ConstantPoolGen cpg)
Returns the type associated with this instruction.
|
Type |
LocalVariableInstruction.getType(ConstantPoolGen cp)
Returns the type associated with the instruction -
in case of ALOAD or ASTORE Type.OBJECT is returned.
|
Type |
RET.getType(ConstantPoolGen cp) |
Type |
ReturnInstruction.getType(ConstantPoolGen cp) |
Type |
SIPUSH.getType(ConstantPoolGen cp) |
Type |
StackInstruction.getType(ConstantPoolGen cp) |
Type |
TypedInstruction.getType(ConstantPoolGen cpg) |
Object |
LDC.getValue(ConstantPoolGen cpg) |
Number |
LDC2_W.getValue(ConstantPoolGen cpg) |
int |
GETFIELD.produceStack(ConstantPoolGen cpg) |
int |
GETSTATIC.produceStack(ConstantPoolGen cpg) |
int |
Instruction.produceStack(ConstantPoolGen cpg)
This method also gives right results for instructions whose
effect on the stack depends on the constant pool entry they
reference.
|
int |
InvokeInstruction.produceStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the
constant pool entry they reference.
|
int |
StackProducer.produceStack(ConstantPoolGen cpg) |
void |
InstructionList.replaceConstantPool(ConstantPoolGen old_cp,
ConstantPoolGen new_cp)
Replace all references to the old constant pool with references to the new
constant pool
|
void |
ClassGen.setConstantPool(ConstantPoolGen constant_pool) |
void |
FieldGenOrMethodGen.setConstantPool(ConstantPoolGen cp) |
void |
InstructionFactory.setConstantPool(ConstantPoolGen c) |
| Constructor and Description |
|---|
ClassGen(String class_name,
String super_class_name,
String file_name,
int access_flags,
String[] interfaces,
ConstantPoolGen cp)
Convenience constructor to set up some important values initially.
|
FieldGen(Field field,
ConstantPoolGen cp)
Instantiate from existing field.
|
FieldGen(int access_flags,
Type type,
String name,
ConstantPoolGen cp)
Declare a field.
|
InstructionFactory(ClassGen cg,
ConstantPoolGen cp) |
InstructionFactory(ConstantPoolGen cp)
Initialize just with ConstantPoolGen object
|
MethodGen(int access_flags,
Type return_type,
Type[] arg_types,
String[] arg_names,
String method_name,
String class_name,
InstructionList il,
ConstantPoolGen cp)
Declare method.
|
MethodGen(Method m,
String class_name,
ConstantPoolGen cp)
Instantiate from existing method.
|
PUSH(ConstantPoolGen cp,
boolean value) |
PUSH(ConstantPoolGen cp,
Boolean value) |
PUSH(ConstantPoolGen cp,
Character value) |
PUSH(ConstantPoolGen cp,
double value) |
PUSH(ConstantPoolGen cp,
float value) |
PUSH(ConstantPoolGen cp,
int value)
This constructor also applies for values of type short, char, byte
|
PUSH(ConstantPoolGen cp,
long value) |
PUSH(ConstantPoolGen cp,
Number value) |
PUSH(ConstantPoolGen cp,
String value) |
| Constructor and Description |
|---|
CompareGenerator(int access_flags,
Type return_type,
Type[] arg_types,
String[] arg_names,
String method_name,
String class_name,
InstructionList il,
ConstantPoolGen cp) |
MatchGenerator(int access_flags,
Type return_type,
Type[] arg_types,
String[] arg_names,
String method_name,
String class_name,
InstructionList il,
ConstantPoolGen cp) |
MethodGenerator(int access_flags,
Type return_type,
Type[] arg_types,
String[] arg_names,
String method_name,
String class_name,
InstructionList il,
ConstantPoolGen cpg) |
NamedMethodGenerator(int access_flags,
Type return_type,
Type[] arg_types,
String[] arg_names,
String method_name,
String class_name,
InstructionList il,
ConstantPoolGen cp) |
RtMethodGenerator(int access_flags,
Type return_type,
Type[] arg_types,
String[] arg_names,
String method_name,
String class_name,
InstructionList il,
ConstantPoolGen cp) |
TestGenerator(int access_flags,
Type return_type,
Type[] arg_types,
String[] arg_names,
String method_name,
String class_name,
InstructionList il,
ConstantPoolGen cp) |
Copyright © 2018–2021 mhoffrogge. All rights reserved.