Created
February 21, 2016 18:11
-
-
Save ip-imamoto/2fe16480506f3638451b to your computer and use it in GitHub Desktop.
ToDoアノテーション
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
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