This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class A { | |
public interface B { | |
public enum C {; | |
public @interface D { | |
public class E { | |
// etc etc | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.reflect.Member; | |
/** | |
* @author peter.lawrey | |
*/ | |
public interface AnnotationHandler<A> { | |
void process(Model model, Member member, A annotation); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.reflect.Member; | |
/** | |
* @author peter.lawrey | |
*/ | |
@Retention(RetentionPolicy.RUNTIME) | |
public @interface CustomAnnotation { | |
public int value() default 0; |
NewerOlder