@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Properties
Platform
values in
this annotation, but priority is given to values found later in the list, making
it possible to define a default set of properties as the first value of the array,
and specializing a smaller set of properties for each platform, subsequently.
A class with this annotation gets recognized as top-level enclosing class by
Loader.getEnclosingClass(Class)
, with the same implications as with
the Platform
annotation.
Additionally, it is possible to inherit properties from another class also annotated with this annotation, and specialize further for the current class.
Modifier and Type | Optional Element and Description |
---|---|
String |
helper
An optional helper class the
Parser should use as base of the target. |
Class[] |
inherit
A list of classes from which to inherit properties.
|
String |
target
The target Java source code file of the
Parser . |
Platform[] |
value
A list of properties for different platforms.
|
Copyright © 2015. All Rights Reserved.