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 ByteVector
AnnotationWriter. annotation
The 'annotation' or 'type_annotation' JVMS structure corresponding to the annotation values visited so far.private ByteVector
SymbolTable. bootstrapMethods
The content of the BootstrapMethods attribute 'bootstrap_methods' array corresponding to this SymbolTable.private ByteVector
MethodWriter. code
The 'code' field of the Code attribute.private ByteVector
SymbolTable. constantPool
The content of the ClassFile's constant_pool JVMS structure corresponding to this SymbolTable.private ByteVector
ClassWriter. debugExtension
The debug_extension field of the SourceDebugExtension attribute, or null.private ByteVector
MethodWriter. defaultValue
The default_value field of the AnnotationDefault attribute, or null.private ByteVector
ModuleWriter. exports
The binary content of the 'exports' array of the JVMS Module attribute.private ByteVector
ClassWriter. innerClasses
The 'classes' array of the InnerClasses attribute, or null.private ByteVector
MethodWriter. lineNumberTable
The line_number_table array of the LineNumberTable code attribute, or null.private ByteVector
MethodWriter. localVariableTable
The local_variable_table array of the LocalVariableTable code attribute, or null.private ByteVector
MethodWriter. localVariableTypeTable
The local_variable_type_table array of the LocalVariableTypeTable code attribute, or null.private ByteVector
ClassWriter. nestMemberClasses
The 'classes' array of the NestMembers attribute, or null.private ByteVector
ModuleWriter. opens
The binary content of the 'opens' array of the JVMS Module attribute.private ByteVector
ModuleWriter. packageIndex
The binary content of the 'package_index' array of the JVMS ModulePackages attribute.private ByteVector
MethodWriter. parameters
The 'parameters' array of the MethodParameters attribute, or null.private ByteVector
ClassWriter. permittedSubtypeClasses
The 'classes' array of the PermittedSubtypes attribute, or null.private ByteVector
ModuleWriter. provides
The binary content of the 'provides' array of the JVMS Module attribute.private ByteVector
ModuleWriter. requires
The binary content of the 'requires' array of the JVMS Module attribute.private ByteVector
MethodWriter. stackMapTableEntries
The 'entries' array of the StackMapTable code attribute.private ByteVector
ModuleWriter. usesIndex
The 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) ByteVector
ByteVector. encodeUtf8(java.lang.String stringValue, int offset, int maxByteLength)
Puts an UTF8 string into this byte vector.(package private) ByteVector
ByteVector. put11(int byteValue1, int byteValue2)
Puts two bytes into this byte vector.(package private) ByteVector
ByteVector. put112(int byteValue1, int byteValue2, int shortValue)
Puts two bytes and a short into this byte vector.(package private) ByteVector
ByteVector. put12(int byteValue, int shortValue)
Puts a byte and a short into this byte vector.(package private) ByteVector
ByteVector. put122(int byteValue, int shortValue1, int shortValue2)
Puts one byte and two shorts into this byte vector.ByteVector
ByteVector. putByte(int byteValue)
Puts a byte into this byte vector.ByteVector
ByteVector. putByteArray(byte[] byteArrayValue, int byteOffset, int byteLength)
Puts an array of bytes into this byte vector.ByteVector
ByteVector. putInt(int intValue)
Puts an int into this byte vector.ByteVector
ByteVector. putLong(long longValue)
Puts a long into this byte vector.ByteVector
ByteVector. putShort(int shortValue)
Puts a short into this byte vector.ByteVector
ByteVector. putUTF8(java.lang.String stringValue)
Puts an UTF8 string into this byte vector.protected ByteVector
Attribute. 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) void
Label. put(ByteVector code, int sourceInsnBytecodeOffset, boolean wideReference)
Puts a reference to this label in the bytecode of a method.(package private) static void
TypePath. put(TypePath typePath, ByteVector output)
Puts the type_path JVMS structure corresponding to the given TypePath into the given ByteVector.(package private) static void
Frame. 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) void
AnnotationWriter. putAnnotations(int attributeNameIndex, ByteVector output)
Puts a Runtime[In]Visible[Type]Annotations attribute containing this annotations and all its predecessors (seeAnnotationWriter.previousAnnotation
in the given ByteVector.(package private) static void
AnnotationWriter. 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.previousAnnotation
in the given ByteVector.(package private) void
Attribute. 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 void
Attribute. 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) void
Attribute. 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) void
ModuleWriter. putAttributes(ByteVector output)
Puts the Module, ModulePackages and ModuleMainClass attributes generated by this ModuleWriter in the given ByteVector.(package private) void
SymbolTable. putBootstrapMethods(ByteVector output)
Puts this symbol table's BootstrapMethods attribute in the given ByteVector.(package private) void
SymbolTable. 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 void
Handler. putExceptionTable(Handler firstHandler, ByteVector output)
Puts the JVMS exception_table corresponding to the Handler list that begins with the given element.(package private) void
FieldWriter. putFieldInfo(ByteVector output)
Puts the content of the field_info JVMS structure generated by this FieldWriter into the given ByteVector.(package private) void
MethodWriter. putMethodInfo(ByteVector output)
Puts the content of the method_info JVMS structure generated by this MethodWriter into the given ByteVector.(package private) static void
AnnotationWriter. 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) void
RecordComponentWriter. putRecordComponentInfo(ByteVector output)
Puts the content of the record component generated by this RecordComponentWriter into the given ByteVector.(package private) static void
TypeReference. 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 ByteVector
ModuleHashesAttribute. write(ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals)
protected ByteVector
ModuleResolutionAttribute. write(ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals)
protected ByteVector
ModuleTargetAttribute. write(ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals)
-