Package org.objectweb.asm.attrs
Provides an implementation for optional class, field and method attributes.
Provides an implementation for optional class, field and method attributes.
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
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.