Annotation Type SourcePosition
This annotation is used for an
to map a generated Java
feature to the corresponding resource file location. If possible,
include this annotation for all generated methods and fields, as this
annotation is vital for most of the features in the IntelliJ plugin and
other IDE tooling.
Note the constant fields mirror the annotation's method names and are
used to access the values of the annotation during compile-time. They
exist primarily as a stopgap until Java provides method literals to
safely access method names...
invalid reference
ITypeManifold
-
Field Summary
Fields -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionWhat kind of feature is this according to the resource's schema taxonomy?intThe length of the feature declarationintThe line where the feature begins.intThe offset of the feature declaration from the beginning of the fileThe qualified type of the feature
-
Field Details
-
DEFAULT_KIND
- See Also:
-
URL
- See Also:
-
OFFSET
- See Also:
-
LENGTH
- See Also:
-
TYPE
- See Also:
-
FEATURE
- See Also:
-
KIND
- See Also:
-
LINE
- See Also:
-
-
Element Details
-
url
String urlThe location of the resource containing the feature "declaration" -
offset
int offsetThe offset of the feature declaration from the beginning of the file- Default:
-1
-
length
int lengthThe length of the feature declaration- Default:
-1
-
type
-
feature
String featureThe name of the feature -
kind
String kindWhat kind of feature is this according to the resource's schema taxonomy? Optional.- Default:
"feature"
-
line
int lineThe line where the feature begins. Optional.- Default:
-1
-