@Target(value=ANNOTATION_TYPE)
@Retention(value=SOURCE)
public @interface Local
@Local(MyTransformationImplementation)
@interface MyAnnotation {
//...
}
Then you can use your annotation:
@MyAnnotation
class SomeType {
//...
}
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<? extends AbstractLocalTransformation> |
value
Sets the transformation implementation class
|
public abstract java.lang.Class<? extends AbstractLocalTransformation> value
public abstract Local.TO applyTo