Returns the unique ID that identifies this kind of attribute (Signature, LineNumberTable,...)
Returns the unique ID that identifies this kind of attribute (Signature, LineNumberTable,...)
This id can then be used in a switch statement to efficiently identify the attribute.
(attribute.id : @scala.annotation.switch) match { case Signature.Id => ... }
The unique ids are manually associated with the attributes. The attributes use the following IDs:
A class file attribute.
Note
Some class file attributes are skipped or resolved while loading the class file and hence, are no longer represented at runtime.