Uses of Class
org.objectweb.asm.Attribute
Packages that use Attribute
Package
Description
Provides a small and fast bytecode manipulation framework.
Provides some useful class and method adapters.
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
Provides ASM visitors that can be useful for programming and
debugging purposes.
-
Uses of Attribute in org.objectweb.asm
Fields in org.objectweb.asm declared as AttributeModifier and TypeFieldDescription(package private) Attribute[]Context.attributePrototypesThe prototypes of the attributes that must be parsed in this class.private Attribute[]Attribute.Set.dataprivate AttributeClassWriter.firstAttributeThe first non standard attribute of this class.private AttributeFieldWriter.firstAttributeThe first non standard attribute of this field.private AttributeMethodWriter.firstAttributeThe first non standard attribute of this method.private AttributeRecordComponentWriter.firstAttributeThe first non standard attribute of this record component.private AttributeMethodWriter.firstCodeAttributeThe first non standard attribute of the Code attribute.(package private) AttributeAttribute.nextAttributeThe next attribute in this attribute list (Attribute instances can be linked via this field to store a list of class, field, method or Code attributes).Methods in org.objectweb.asm that return AttributeModifier and TypeMethodDescriptionprivate Attribute[]ClassWriter.getAttributePrototypes()Returns the prototypes of the attributes used by this class, its fields and its methods.static AttributeAttribute.read(Attribute attribute, ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads an attribute with the sametypeas the given attribute.protected AttributeAttribute.read(ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads atypeattribute.private AttributeClassReader.readAttribute(Attribute[] attributePrototypes, String type, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads a non standard JVMS 'attribute' structure inClassReader.classFileBuffer.(package private) Attribute[]Attribute.Set.toArray()Methods in org.objectweb.asm with parameters of type AttributeModifier and TypeMethodDescriptionvoidClassReader.accept(ClassVisitor classVisitor, Attribute[] attributePrototypes, int parsingOptions) Makes the given visitor visit the JVMS ClassFile structure passed to the constructor of thisClassReader.private void(package private) voidAttribute.Set.addAttributes(Attribute attributeList) private booleanstatic AttributeAttribute.read(Attribute attribute, ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads an attribute with the sametypeas the given attribute.private AttributeClassReader.readAttribute(Attribute[] attributePrototypes, String type, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads a non standard JVMS 'attribute' structure inClassReader.classFileBuffer.voidClassVisitor.visitAttribute(Attribute attribute) Visits a non standard attribute of the class.final voidClassWriter.visitAttribute(Attribute attribute) voidFieldVisitor.visitAttribute(Attribute attribute) Visits a non standard attribute of the field.voidFieldWriter.visitAttribute(Attribute attribute) voidMethodVisitor.visitAttribute(Attribute attribute) Visits a non standard attribute of this method.voidMethodWriter.visitAttribute(Attribute attribute) voidRecordComponentVisitor.visitAttribute(Attribute attribute) Visits a non standard attribute of the record component.voidRecordComponentWriter.visitAttribute(Attribute attribute) static byte[]Attribute.write(Attribute attribute, ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals) Returns the byte array form of the content of the given attribute. -
Uses of Attribute in org.objectweb.asm.commons
Subclasses of Attribute in org.objectweb.asm.commonsModifier and TypeClassDescriptionfinal classA ModuleHashes attribute.final classA ModuleResolution attribute.final classA ModuleTarget attribute.Methods in org.objectweb.asm.commons that return AttributeModifier and TypeMethodDescriptionprotected AttributeModuleHashesAttribute.read(ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) protected AttributeModuleResolutionAttribute.read(ClassReader classReader, int offset, int length, char[] charBuffer, int codeOffset, Label[] labels) protected AttributeModuleTargetAttribute.read(ClassReader classReader, int offset, int length, char[] charBuffer, int codeOffset, Label[] labels) Methods in org.objectweb.asm.commons with parameters of type Attribute -
Uses of Attribute in org.objectweb.asm.tree
Fields in org.objectweb.asm.tree with type parameters of type AttributeModifier and TypeFieldDescriptionClassNode.attrsThe non standard attributes of this class.FieldNode.attrsThe non standard attributes of this field.MethodNode.attrsThe non standard attributes of this method.RecordComponentNode.attrsThe non standard attributes of this record component.Methods in org.objectweb.asm.tree with parameters of type AttributeModifier and TypeMethodDescriptionvoidClassNode.visitAttribute(Attribute attribute) voidFieldNode.visitAttribute(Attribute attribute) voidMethodNode.visitAttribute(Attribute attribute) voidRecordComponentNode.visitAttribute(Attribute attribute) -
Uses of Attribute in org.objectweb.asm.util
Methods in org.objectweb.asm.util with parameters of type AttributeModifier and TypeMethodDescriptionvoidASMifier.visitAttribute(Attribute attribute) Visit a class, field or method attribute.voidCheckClassAdapter.visitAttribute(Attribute attribute) voidCheckFieldAdapter.visitAttribute(Attribute attribute) voidCheckMethodAdapter.visitAttribute(Attribute attribute) voidCheckRecordComponentAdapter.visitAttribute(Attribute attribute) voidTextifier.visitAttribute(Attribute attribute) Prints a disassembled view of the given attribute.voidTraceClassVisitor.visitAttribute(Attribute attribute) voidTraceFieldVisitor.visitAttribute(Attribute attribute) voidTraceMethodVisitor.visitAttribute(Attribute attribute) voidTraceRecordComponentVisitor.visitAttribute(Attribute attribute) voidASMifier.visitClassAttribute(Attribute attribute) abstract voidPrinter.visitClassAttribute(Attribute attribute) Class attribute.voidTextifier.visitClassAttribute(Attribute attribute) voidASMifier.visitFieldAttribute(Attribute attribute) abstract voidPrinter.visitFieldAttribute(Attribute attribute) Field attribute.voidTextifier.visitFieldAttribute(Attribute attribute) voidASMifier.visitMethodAttribute(Attribute attribute) abstract voidPrinter.visitMethodAttribute(Attribute attribute) Method attribute.voidTextifier.visitMethodAttribute(Attribute attribute) voidASMifier.visitRecordComponentAttribute(Attribute attribute) voidPrinter.visitRecordComponentAttribute(Attribute attribute) Visits a non standard attribute of the record component.voidTextifier.visitRecordComponentAttribute(Attribute attribute)