Special Attributes for Java

In addition to normal Custom Attributes and Predefined Aspects and Attributes provided by the compiler, the Elements compiler provides support for the special, attribute classes defined by the Java libraries themselves. In many cases, these attributes result in specific code or data to be generated in the executable, or in changed the compiler behavior.

Java Only

These attributes or aspects are available for the Java/Android platform only.


Defines if something should be written to the .class/jar and exposed to the runtime (see Retention) for more information

See Also