Package asteroid

Annotation Type Local


  • @Target(ANNOTATION_TYPE)
    @Retention(SOURCE)
    public @interface Local
    Marks a given annotation as a local AST transformation marker
    
     @Local(MyTransformationImplementation)
     @interface MyAnnotation {
         //...
     }
     
    Then you can use your annotation:
    
     @MyAnnotation
      class SomeType {
         //...
      }
     
    Since:
    0.1.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Local.TO applyTo  
    • 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