| Package | Description |
|---|---|
| com.ibm.wala.shrikeBT.shrikeCT | |
| com.ibm.wala.shrikeBT.shrikeCT.tools | |
| com.ibm.wala.shrikeCT |
| Modifier and Type | Method and Description |
|---|---|
ClassWriter |
ClassInstrumenter.emitClass()
Create a class which is a copy of the original class but with the new method code.
|
ClassWriter |
ClassInstrumenter.emitClass(ClassWriter w) |
| Modifier and Type | Method and Description |
|---|---|
static void |
CTUtils.compileAndAddMethodToClassWriter(MethodData md,
ClassWriter classWriter,
ClassWriter.Element rawLines)
Compile and add a method to a
ClassWriter. |
ClassWriter |
ClassInstrumenter.emitClass(ClassWriter w) |
static CTCompiler |
CTCompiler.make(ClassWriter cw,
MethodData md) |
void |
OfflineInstrumenter.outputModifiedClass(ClassInstrumenter out,
ClassWriter code)
Update the original class with some method changes.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AddSerialVersion.addSerialVersionUID(ClassReader r,
ClassWriter w)
This method computes the serialVersionUID for class r (if there isn't one already) and adds the field to the classwriter w.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StackMapConstants.Item.write(OutputStream s,
ClassWriter writer) |
void |
StackMapConstants.UninitializedType.write(OutputStream s,
ClassWriter writer) |
void |
StackMapConstants.ObjectType.write(OutputStream s,
ClassWriter writer) |
void |
StackMapConstants.StackMapFrame.write(OutputStream out,
ClassWriter writer) |
| Constructor and Description |
|---|
CodeWriter(ClassWriter w)
Build an empty serializable Code attribute.
|
ConstantValueWriter(ClassWriter w)
Build an empty writer.
|
ConstantValueWriter(ClassWriter w,
double v)
Build an writer for a 'double' constant value.
|
ConstantValueWriter(ClassWriter w,
float v)
Build an writer for a 'float' constant value.
|
ConstantValueWriter(ClassWriter w,
int v)
Build an writer for an 'int' constant value.
|
ConstantValueWriter(ClassWriter w,
long v)
Build an writer for a 'long' constant value.
|
ConstantValueWriter(ClassWriter w,
String v)
Build an writer for a 'String' constant value.
|
ExceptionsWriter(ClassWriter w)
Build an empty writer.
|
InnerClassesWriter(ClassWriter w)
Build an empty writer.
|
LineNumberTableWriter(ClassWriter w)
Build an empty LineNumberTable.
|
LocalVariableTableWriter(ClassWriter w)
Create a blank LocalVariableTable.
|
SourceDebugExtensionWriter(ClassWriter w) |
SourceFileWriter(ClassWriter w)
Build an empty writer.
|
StackMapTableWriter(ClassWriter writer,
List<StackMapConstants.StackMapFrame> frames) |
StackMapTableWriter(ClassWriter w,
List<StackMapConstants.StackMapFrame> sm,
int[] newBytecodesToOldBytecodes) |
StackMapTableWriter(ClassWriter writer,
MethodData method,
Compiler.Output output,
ClassHierarchyProvider cha,
String[][] vars) |
StackMapTableWriter(ClassWriter writer,
MethodData method,
Compiler.Output output,
ClassHierarchyProvider cha,
String[][] vars,
List<StackMapConstants.StackMapFrame> reuseFrames) |
Copyright © 2019. All rights reserved.