Package org.objectweb.asm.attrs

Provides an implementation for various optional class, field, method and bytecode attributes.

See: Description

Package org.objectweb.asm.attrs Description

Provides an implementation for various optional class, field, method and bytecode attributes.

By default ASM strips optional attributes, in order to keep them in the bytecode that is being readed 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 correspond visit methods of the ClassVisitor and CodeVisitor.

Since:
ASM 1.4.1