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:
This class file level attribute identifies ClassFile objects that have no direct representation in the bytecode of a project.
Instead, the class file annotated with this attribute was generated to represent a class file object that is either explicitly generated at runtime and then used by the program or is conceptually generated at runtime by the JavaVM, but not exposed to the program. An example of the later case are the call site objects that are generated for
invokedynamic
instructions.However, such classes are generally required to facilitate subsequent analyses.