| Package | Description |
|---|---|
| jasm.attributes |
Provides classes for representing class file attributes, including code necessary for encoding and decoding them.
|
| jasm.io |
Provides classes for reading/writing class files and Jasm files.
|
| jasm.lang |
Provides core class for representing JVM class files, bytecodes, types and constants.
|
| jasm.util |
Provides various helper classes, including a simple library for performing dataflow analysis.
|
| jasm.util.dfa |
A simple library for performing dataflow analysis.
|
| jasm.verifier |
Provides classes for verifying that a given class file is valid with respect to the JVM Specification (e.g.
|
| Modifier and Type | Field and Description |
|---|---|
protected ClassFile.Method |
Code.method |
| Constructor and Description |
|---|
Code(Collection<Bytecode> bytecodes,
Collection<Code.Handler> handlers,
ClassFile.Method method) |
| Modifier and Type | Method and Description |
|---|---|
protected ClassFile.Method |
ClassFileReader.parseMethod(int offset,
String owner) |
| Modifier and Type | Method and Description |
|---|---|
protected ArrayList<ClassFile.Method> |
ClassFileReader.parseMethods(int methods,
String owner)
parse array of methods defined in this class
|
| Modifier and Type | Method and Description |
|---|---|
protected BytecodeAttribute |
ClassFileReader.parseAttribute(int offset,
ClassFile.Method enclosingMethod,
ClassFile enclosingClass) |
protected ArrayList<BytecodeAttribute> |
ClassFileReader.parseAttributes(int attributes,
ClassFile.Method enclosingMethod,
ClassFile enclosingClass)
parse any attributes associated with this field.
|
protected Code |
ClassFileReader.parseCode(int offset,
String name,
ClassFile.Method enclosingMethod) |
protected void |
ClassFileWriter.writeMethod(ClassFile.Method m,
HashMap<Constant.Info,Integer> constantPool) |
protected void |
JasmFileWriter.writeMethod(ClassFile clazz,
ClassFile.Method method,
HashMap<Constant.Info,Integer> poolMap) |
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<ClassFile.Method> |
ClassFile.methods |
| Modifier and Type | Method and Description |
|---|---|
List<ClassFile.Method> |
ClassFile.methods() |
List<ClassFile.Method> |
ClassFile.methods(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeadCodeElimination.apply(ClassFile.Method method) |
| Modifier and Type | Method and Description |
|---|---|
T[] |
ForwardFlowAnalysis.apply(ClassFile.Method method) |
abstract T[] |
ForwardFlowAnalysis.initialise(Code attribute,
ClassFile.Method method)
Generate an array of stores, one for each bytecode in the given method.
|
| Modifier and Type | Method and Description |
|---|---|
jasm.verifier.TypeAnalysis.Store[] |
TypeAnalysis.apply(ClassFile.Method method)
Apply the analysis to a given method in a classfile.
|
void |
ClassFileVerifier.checkCode(Code code,
ClassFile.Method method,
ClassFile parent) |
void |
ClassFileVerifier.checkLabels(Code code,
ClassFile.Method method,
ClassFile parent) |
void |
ClassFileVerifier.checkMethod(ClassFile.Method method,
ClassFile parent) |
jasm.verifier.TypeAnalysis.Store[] |
TypeAnalysis.initialise(Code attr,
ClassFile.Method method) |
| Constructor and Description |
|---|
VerificationException(ClassFile.Method method,
int index,
jasm.verifier.TypeAnalysis.Store store,
String msg) |
Copyright © 2016. All rights reserved.