Skip to content

Instantly share code, notes, and snippets.

@ip-imamoto

ip-imamoto/ToDo.java

Created Feb 21, 2016
Embed
What would you like to do?
ToDoアノテーション
package todo;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.CLASS)
public @interface ToDo {
String message();
String expiration() default "19700101";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.