Created
January 27, 2020 01:09
-
-
Save BetterProgramming/129e37fc2e61194f5e1ff322c211ca76 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
@Retention(RetentionPolicy.RUNTIME) | |
@Target(ElementType.TYPE) | |
public @interface Values { | |
String name() default ""; | |
int value(); | |
Class allowedTypes() default String.class, | |
ElementType[] types(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment