Package asteroid
Annotation Type Local
-
@Target(ANNOTATION_TYPE) @Retention(SOURCE) public @interface Local
Marks a given annotation as a local AST transformation marker
Then you can use your annotation:@Local(MyTransformationImplementation) @interface MyAnnotation { //... }@MyAnnotation class SomeType { //... }- Since:
- 0.1.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends AbstractLocalTransformation>valueSets the transformation implementation class
-
-
-
Element Detail
-
value
Class<? extends AbstractLocalTransformation> value
Sets the transformation implementation class- Returns:
- a class representing an AST transformation implementation
- Since:
- 0.1.0
-
-
-
applyTo
Local.TO applyTo
- Since:
- 0.2.0
- Default:
- asteroid.Local.TO.TYPE
-
-