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 ClassWriterAnnotationWriter. cwThe class writer to which this annotation must be added.private ClassWriterFieldWriter. cwThe class writer to which this field must be added.(package private) ClassWriterMethodWriter. cwThe 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 voidClassReader. copyBootstrapMethods(ClassWriter classWriter, Item[] items, char[] c)Copies the bootstrap method data into the givenClassWriter.(package private) voidClassReader. copyPool(ClassWriter classWriter)Copies the constant pool data into the givenClassWriter.(package private) voidFrame. execute(int opcode, int arg, ClassWriter cw, Item item)Simulates the action of the given instruction on the output stack frame.(package private) intAttribute. getSize(ClassWriter cw, byte[] code, int len, int maxStack, int maxLocals)Returns the size of all the attributes in this attribute list.private intFrame. 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) voidFrame. initInputFrame(ClassWriter cw, int access, Type[] args, int maxLocals)Initializes the input frame of the first basic block from the method descriptor.private static booleanFrame. 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) booleanFrame. 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 voidFrame. push(ClassWriter cw, java.lang.String desc)Pushes a new type onto the output frame stack.(package private) voidAttribute. 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 intFrame. type(ClassWriter cw, java.lang.String desc)Returns the int encoding of the given type.protected ByteVectorAttribute. 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 voidDynamicGlue. init(ClassWriter cw, java.lang.String superName, java.lang.String proxyName)Generates a constructor that accepts aProviderand stores it in an internal field.private static voidDynamicGlue. wrap(ClassWriter cw, java.lang.String proxyName, java.lang.reflect.Method method)Generates a wrapper that dereferences the storedProviderand invokes the given method.
-