exo4: fix the class annotation to be included inside the bytecode.
[Project_POO.git] / exo4 / ClassPreamble.java
index 59c7fd96c7730b15fd7a5922b2932f5162458f34..523ea4f08cc270ddf9652a8a545a5086256fdc37 100644 (file)
@@ -1,5 +1,8 @@
 import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 
+@Retention(RetentionPolicy.RUNTIME)
 @Documented
 public @interface ClassPreamble {
    String author();