Uses of Class
org.objectweb.asm.ByteVector
-
Packages that use ByteVector Package Description org.objectweb.asm Provides a small and fast bytecode manipulation framework.org.objectweb.asm.commons Provides some useful class and method adapters. -
-
Uses of ByteVector in org.objectweb.asm
Fields in org.objectweb.asm declared as ByteVector Modifier and Type Field Description private ByteVectorAnnotationWriter. annotationThe 'annotation' or 'type_annotation' JVMS structure corresponding to the annotation values visited so far.private ByteVectorSymbolTable. bootstrapMethodsThe content of the BootstrapMethods attribute 'bootstrap_methods' array corresponding to this SymbolTable.private ByteVectorMethodWriter. codeThe 'code' field of the Code attribute.private ByteVectorSymbolTable. constantPoolThe content of the ClassFile's constant_pool JVMS structure corresponding to this SymbolTable.private ByteVectorClassWriter. debugExtensionThe debug_extension field of the SourceDebugExtension attribute, or null.private ByteVectorMethodWriter. defaultValueThe default_value field of the AnnotationDefault attribute, or null.private ByteVectorModuleWriter. exportsThe binary content of the 'exports' array of the JVMS Module attribute.private ByteVectorClassWriter. innerClassesThe 'classes' array of the InnerClasses attribute, or null.private ByteVectorMethodWriter. lineNumberTableThe line_number_table array of the LineNumberTable code attribute, or null.private ByteVectorMethodWriter. localVariableTableThe local_variable_table array of the LocalVariableTable code attribute, or null.private ByteVectorMethodWriter. localVariableTypeTableThe local_variable_type_table array of the LocalVariableTypeTable code attribute, or null.private ByteVectorClassWriter. nestMemberClassesThe 'classes' array of the NestMembers attribute, or null.private ByteVectorModuleWriter. opensThe binary content of the 'opens' array of the JVMS Module attribute.private ByteVectorModuleWriter. packageIndexThe binary content of the 'package_index' array of the JVMS ModulePackages attribute.private ByteVectorMethodWriter. parametersThe 'parameters' array of the MethodParameters attribute, or null.private ByteVectorModuleWriter. providesThe binary content of the 'provides' array of the JVMS Module attribute.private ByteVectorModuleWriter. requiresThe binary content of the 'requires' array of the JVMS Module attribute.private ByteVectorMethodWriter. stackMapTableEntriesThe 'entries' array of the StackMapTable code attribute.private ByteVectorModuleWriter. usesIndexThe binary content of the 'uses_index' array of the JVMS Module attribute.Methods in org.objectweb.asm that return ByteVector Modifier and Type Method Description (package private) ByteVectorByteVector. encodeUtf8(java.lang.String stringValue, int offset, int maxByteLength)Puts an UTF8 string into this byte vector.(package private) ByteVectorByteVector. put11(int byteValue1, int byteValue2)Puts two bytes into this byte vector.(package private) ByteVectorByteVector. put112(int byteValue1, int byteValue2, int shortValue)Puts two bytes and a short into this byte vector.(package private) ByteVectorByteVector. put12(int byteValue, int shortValue)Puts a byte and a short into this byte vector.(package private) ByteVectorByteVector. put122(int byteValue, int shortValue1, int shortValue2)Puts one byte and two shorts into this byte vector.ByteVectorByteVector. putByte(int byteValue)Puts a byte into this byte vector.ByteVectorByteVector. putByteArray(byte[] byteArrayValue, int byteOffset, int byteLength)Puts an array of bytes into this byte vector.ByteVectorByteVector. putInt(int intValue)Puts an int into this byte vector.ByteVectorByteVector. putLong(long longValue)Puts a long into this byte vector.ByteVectorByteVector. putShort(int shortValue)Puts a short into this byte vector.ByteVectorByteVector. putUTF8(java.lang.String stringValue)Puts an UTF8 string into this byte vector.protected ByteVectorAttribute. write(ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals)Returns the byte array form of the content of this attribute.Methods in org.objectweb.asm with parameters of type ByteVector Modifier and Type Method Description (package private) voidLabel. put(ByteVector code, int sourceInsnBytecodeOffset, boolean wideReference)Puts a reference to this label in the bytecode of a method.(package private) static voidTypePath. put(TypePath typePath, ByteVector output)Puts the type_path JVMS structure corresponding to the given TypePath into the given ByteVector.(package private) static voidFrame. putAbstractType(SymbolTable symbolTable, int abstractType, ByteVector output)Put the given abstract type in the given ByteVector, using the JVMS verification_type_info format used in StackMapTable attributes.(package private) voidAnnotationWriter. putAnnotations(int attributeNameIndex, ByteVector output)Puts a Runtime[In]Visible[Type]Annotations attribute containing this annotations and all its predecessors (seeAnnotationWriter.previousAnnotationin the given ByteVector.(package private) static voidAnnotationWriter. putAnnotations(SymbolTable symbolTable, AnnotationWriter lastRuntimeVisibleAnnotation, AnnotationWriter lastRuntimeInvisibleAnnotation, AnnotationWriter lastRuntimeVisibleTypeAnnotation, AnnotationWriter lastRuntimeInvisibleTypeAnnotation, ByteVector output)Puts the Runtime[In]Visible[Type]Annotations attributes containing the given annotations and all their predecessors (seeAnnotationWriter.previousAnnotationin the given ByteVector.(package private) voidAttribute. putAttributes(SymbolTable symbolTable, byte[] code, int codeLength, int maxStack, int maxLocals, ByteVector output)Puts all the attributes of the attribute list that begins with this attribute, in the given byte vector.(package private) static voidAttribute. putAttributes(SymbolTable symbolTable, int accessFlags, int signatureIndex, ByteVector output)Puts all the attributes that correspond to the given field, method or class access flags and signature, in the given byte vector.(package private) voidAttribute. putAttributes(SymbolTable symbolTable, ByteVector output)Puts all the attributes of the attribute list that begins with this attribute, in the given byte vector.(package private) voidModuleWriter. putAttributes(ByteVector output)Puts the Module, ModulePackages and ModuleMainClass attributes generated by this ModuleWriter in the given ByteVector.(package private) voidSymbolTable. putBootstrapMethods(ByteVector output)Puts this symbol table's BootstrapMethods attribute in the given ByteVector.(package private) voidSymbolTable. putConstantPool(ByteVector output)Puts this symbol table's constant_pool array in the given ByteVector, preceded by the constant_pool_count value.(package private) static voidHandler. putExceptionTable(Handler firstHandler, ByteVector output)Puts the JVMS exception_table corresponding to the Handler list that begins with the given element.(package private) voidFieldWriter. putFieldInfo(ByteVector output)Puts the content of the field_info JVMS structure generated by this FieldWriter into the given ByteVector.(package private) voidMethodWriter. putMethodInfo(ByteVector output)Puts the content of the method_info JVMS structure generated by this MethodWriter into the given ByteVector.(package private) static voidAnnotationWriter. putParameterAnnotations(int attributeNameIndex, AnnotationWriter[] annotationWriters, int annotableParameterCount, ByteVector output)Puts a Runtime[In]VisibleParameterAnnotations attribute containing all the annotation lists from the given AnnotationWriter sub-array in the given ByteVector.(package private) static voidTypeReference. putTarget(int targetTypeAndInfo, ByteVector output)Puts the given target_type and target_info JVMS structures into the given ByteVector.Constructors in org.objectweb.asm with parameters of type ByteVector Constructor Description AnnotationWriter(SymbolTable symbolTable, boolean useNamedValues, ByteVector annotation, AnnotationWriter previousAnnotation)Constructs a newAnnotationWriter. -
Uses of ByteVector in org.objectweb.asm.commons
Methods in org.objectweb.asm.commons that return ByteVector Modifier and Type Method Description protected ByteVectorModuleHashesAttribute. write(ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals)protected ByteVectorModuleResolutionAttribute. write(ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals)protected ByteVectorModuleTargetAttribute. write(ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals)
-