Uses of Class
org.eclipse.sisu.space.asm.ClassWriter
-
Packages that use ClassWriter Package Description org.eclipse.sisu.space.asm org.eclipse.sisu.wire Customizable wiring of unresolved dependencies. -
-
Uses of ClassWriter in org.eclipse.sisu.space.asm
Fields in org.eclipse.sisu.space.asm declared as ClassWriter Modifier and Type Field Description private ClassWriter
AnnotationWriter. cw
The class writer to which this annotation must be added.private ClassWriter
FieldWriter. cw
The class writer to which this field must be added.(package private) ClassWriter
MethodWriter. cw
The class writer to which this method must be added.Methods in org.eclipse.sisu.space.asm with parameters of type ClassWriter Modifier and Type Method Description private void
ClassReader. copyBootstrapMethods(ClassWriter classWriter, Item[] items, char[] c)
Copies the bootstrap method data into the givenClassWriter
.(package private) void
ClassReader. copyPool(ClassWriter classWriter)
Copies the constant pool data into the givenClassWriter
.(package private) void
Frame. execute(int opcode, int arg, ClassWriter cw, Item item)
Simulates the action of the given instruction on the output stack frame.(package private) int
Attribute. getSize(ClassWriter cw, byte[] code, int len, int maxStack, int maxLocals)
Returns the size of all the attributes in this attribute list.private int
Frame. init(ClassWriter cw, int t)
Replaces the given type with the appropriate type if it is one of the types on which a constructor is invoked in the basic block.(package private) void
Frame. initInputFrame(ClassWriter cw, int access, Type[] args, int maxLocals)
Initializes the input frame of the first basic block from the method descriptor.private static boolean
Frame. merge(ClassWriter cw, int t, int[] types, int index)
Merges the type at the given index in the given type array with the given type.(package private) boolean
Frame. merge(ClassWriter cw, Frame frame, int edge)
Merges the input frame of the given basic block with the input and output frames of this basic block.private void
Frame. push(ClassWriter cw, java.lang.String desc)
Pushes a new type onto the output frame stack.(package private) void
Attribute. put(ClassWriter cw, byte[] code, int len, int maxStack, int maxLocals, ByteVector out)
Writes all the attributes of this attribute list in the given byte vector.private static int
Frame. type(ClassWriter cw, java.lang.String desc)
Returns the int encoding of the given type.protected ByteVector
Attribute. write(ClassWriter cw, byte[] code, int len, int maxStack, int maxLocals)
Returns the byte array form of this attribute.Constructors in org.eclipse.sisu.space.asm with parameters of type ClassWriter Constructor Description AnnotationWriter(ClassWriter cw, boolean named, ByteVector bv, ByteVector parent, int offset)
Constructs a newAnnotationWriter
.FieldWriter(ClassWriter cw, int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.Object value)
Constructs a newFieldWriter
.MethodWriter(ClassWriter cw, int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions, boolean computeMaxs, boolean computeFrames)
Constructs a newMethodWriter
. -
Uses of ClassWriter in org.eclipse.sisu.wire
Methods in org.eclipse.sisu.wire with parameters of type ClassWriter Modifier and Type Method Description private static void
DynamicGlue. init(ClassWriter cw, java.lang.String superName, java.lang.String proxyName)
Generates a constructor that accepts aProvider
and stores it in an internal field.private static void
DynamicGlue. wrap(ClassWriter cw, java.lang.String proxyName, java.lang.reflect.Method method)
Generates a wrapper that dereferences the storedProvider
and invokes the given method.
-