| Package | Description |
|---|---|
| jdk7u.jaxp.org.apache.bcel.external.classfile |
This package contains the classes that describe the structure of a
Java class file and a class file parser.
|
| 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.bcel.external.util |
This package contains utility classes for the
Byte Code Engineering
Library, namely:
Collection classes for JavaClass objects
A converter for class files to HTML
A tool to find instructions patterns via regular expressions
A class to find classes as defined in the CLASSPATH
A class loader that allows to create clases at run time
|
| jdk7u.jaxp.org.apache.xalan.external.xsltc.compiler.util |
| Modifier and Type | Method and Description |
|---|---|
Method |
Method.copy(ConstantPool constant_pool) |
Method |
JavaClass.getMethod(Method m) |
Method[] |
JavaClass.getMethods() |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaClass.setMethods(Method[] methods) |
void |
DescendingVisitor.visitMethod(Method method) |
void |
EmptyVisitor.visitMethod(Method obj) |
void |
Visitor.visitMethod(Method obj) |
| Constructor and Description |
|---|
JavaClass(int class_name_index,
int superclass_name_index,
String file_name,
int major,
int minor,
int access_flags,
ConstantPool constant_pool,
int[] interfaces,
Field[] fields,
Method[] methods,
Attribute[] attributes)
Constructor gets all contents as arguments.
|
JavaClass(int class_name_index,
int superclass_name_index,
String file_name,
int major,
int minor,
int access_flags,
ConstantPool constant_pool,
int[] interfaces,
Field[] fields,
Method[] methods,
Attribute[] attributes,
byte source)
Constructor gets all contents as arguments.
|
Method(Method c)
Initialize from another object.
|
| Modifier and Type | Method and Description |
|---|---|
Method |
ClassGen.containsMethod(String name,
String signature) |
Method |
MethodGen.getMethod()
Get method object.
|
Method |
ClassGen.getMethodAt(int pos) |
Method[] |
ClassGen.getMethods() |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassGen.addMethod(Method m)
Add a method to this class.
|
void |
ClassGen.removeMethod(Method m)
Remove a method from this class.
|
void |
ClassGen.replaceMethod(Method old,
Method new_)
Replace given method with new one.
|
void |
ClassGen.setMethodAt(Method method,
int pos) |
void |
ClassGen.setMethods(Method[] methods) |
| Constructor and Description |
|---|
MethodGen(Method m,
String class_name,
ConstantPoolGen cp)
Instantiate from existing method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BCELifier.visitMethod(Method method) |
| Modifier and Type | Method and Description |
|---|---|
protected Method |
MethodGenerator.getThisMethod() |
Method[] |
MethodGenerator.outlineChunks(ClassGenerator classGen,
int originalMethodSize)
Breaks up the IL for this
MethodGenerator into separate
outlined methods so that no method exceeds the 64KB limit on the length
of the byte code associated with a method. |
Copyright © 2018–2021 mhoffrogge. All rights reserved.