I defined my own annotation
@Target(value={ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) public @interface MyCustomAnnotation { Class<?> myType(); }
how, if at all, can I make the attribute optional
java annotations metaprogramming
flybywire Aug 31 '09 at 15:13 2009-08-31 15:13
source share