Add a class premable.
[TP_POO.git] / TP2 / ClassPreamble.java
CommitLineData
78c725c5
JB
1import java.lang.annotation.Documented;
2import java.lang.annotation.Retention;
3import java.lang.annotation.RetentionPolicy;
4
5@Retention(RetentionPolicy.RUNTIME)
6@Documented
7public @interface ClassPreamble {
8 String author();
9 String date();
10 int currentRevision() default 1;
11 String lastModified() default "N/A";
12 String lastModifiedBy() default "N/A";
13}