Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@interface Status {
public enum Priority {LOW, MEDIUM, HIGH}
Priority priority() default Priority.LOW;
String author() default “Amit”;
int completion() default 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment