| Package | Description |
|---|---|
| jasm.io |
Provides classes for reading/writing class files and Jasm files.
|
| jasm.util |
Provides various helper classes, including 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 | Method and Description |
|---|---|
ClassFile |
ClassFileReader.readClass()
Parse classfile and construct ClassInfo object.
|
| 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.
|
void |
JasmFileWriter.write(ClassFile cfile) |
void |
ClassFileWriter.write(ClassFile cfile) |
protected void |
JasmFileWriter.writeMethod(ClassFile clazz,
ClassFile.Method method,
HashMap<Constant.Info,Integer> poolMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeadCodeElimination.apply(ClassFile cf) |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeAnalysis.apply(ClassFile cf)
Apply the analysis to every method in a classfile, creating the necessary
StackMapTable attributes. |
void |
ClassFileVerifier.apply(ClassFile cf) |
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) |
void |
ClassFileVerifier.checkNoIdenticalMethod(ClassFile cf) |
Copyright © 2016. All rights reserved.