Created
March 11, 2014 20:54
-
-
Save agoncal/9494827 to your computer and use it in GitHub Desktop.
This file contains 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
@Target( { METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) | |
@Retention(RUNTIME) | |
@Documented | |
public @interface List { | |
URL[] value(); | |
} | |
constraint.addAnnotationElement("@Target( { METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })\n" + | |
"\t@Retention(RUNTIME)\n" + | |
"\t@Documented\n" + | |
"\tpublic @interface List {\n" + | |
"\t\t"+getNamed()+"[] value();\n" + | |
"\t}"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment