Provides an implementation for optional class, field and method attributes.
See: Description
Class Summary | |
---|---|
StackMapAttribute | StackMapAttribute is used by CDLC preverifier. |
StackMapFrame | Holds the state of the stack and local variables for a single execution branch. |
StackMapTableAttribute | The stack map attribute is used during the process of verification by typechecking ('4.11.1). |
StackMapType | Verification type info used by StackMapAttribute. |
By default ASM strips optional attributes, in order to keep them in
the bytecode that is being readed you should pass an array of required attribute
instances to (org.objectweb.asm.ClassVisitor, org.objectweb.asm.Attribute[], boolean) ClassReader.accept()
method.
In order to add custom attributes to the manually constructed bytecode concrete
subclasses of the Attribute
can be passed to
the visitAttribute methods of the
ClassVisitor
,
FieldVisitor
and
MethodVisitor
interfaces.
Since: ASM 1.4.1