diff src/main/java/christie/annotation/Take.java @ 3:e3bb0eea73f2

resolve Annotation error and TestCodeGear is working
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Wed, 13 Dec 2017 17:24:14 +0900
parents c082039368f5
children 307ac87ddcf7
line wrap: on
line diff
--- a/src/main/java/christie/annotation/Take.java	Tue Dec 12 16:48:30 2017 +0900
+++ b/src/main/java/christie/annotation/Take.java	Wed Dec 13 17:24:14 2017 +0900
@@ -1,8 +1,15 @@
 package christie.annotation;
 
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
 /**
  * Created by e125769 on 12/7/17.
  */
+@Target(ElementType.FIELD)
+@Retention(RetentionPolicy.RUNTIME)
 public @interface Take {
     String value();
 }