Package | Description |
---|---|
javassist.bytecode |
Bytecode-level API.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassFileWriter.FieldWriter.add(int accessFlags,
int name,
int descriptor,
ClassFileWriter.AttributeWriter aw)
Adds a new field.
|
void |
ClassFileWriter.FieldWriter.add(int accessFlags,
java.lang.String name,
java.lang.String descriptor,
ClassFileWriter.AttributeWriter aw)
Adds a new field.
|
void |
ClassFileWriter.MethodWriter.begin(int accessFlags,
int name,
int descriptor,
int[] exceptions,
ClassFileWriter.AttributeWriter aw)
Starts adding a new method.
|
void |
ClassFileWriter.MethodWriter.begin(int accessFlags,
java.lang.String name,
java.lang.String descriptor,
java.lang.String[] exceptions,
ClassFileWriter.AttributeWriter aw)
Starts Adding a new method.
|
void |
ClassFileWriter.end(java.io.DataOutputStream out,
int accessFlags,
int thisClass,
int superClass,
int[] interfaces,
ClassFileWriter.AttributeWriter aw)
Ends writing and writes the contents of the class file into the
given output stream.
|
byte[] |
ClassFileWriter.end(int accessFlags,
int thisClass,
int superClass,
int[] interfaces,
ClassFileWriter.AttributeWriter aw)
Ends writing and returns the contents of the class file.
|
void |
ClassFileWriter.MethodWriter.end(StackMapTable.Writer smap,
ClassFileWriter.AttributeWriter aw)
Ends adding a new method.
|
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.