org.eclipse.xtext.xbase.lib
public @Interface Extension
extends Annotation
- Annotations
- @Retention:RUNTIME
- @Target:FIELD, PARAMETER, LOCAL_VARIABLE
- @Documented
- @Beta
- @GwtCompatible
- Imports
- java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, com.google.common.annotations.Beta, .GwtCompatible
Marks a field, parameter or local variable as extension provider.
Annotated extension fields are inherited if their visibility is set
accordingly.
- Author
- Sebastian Zarnekow - Initial contribution and API
- Since
- 2.4