1
2
3
4
5
6
7 package com.puppycrawl.tools.checkstyle.checks.design.onetoplevelclass;
8
9 import javax.annotation.CheckForNull;
10 import javax.annotation.meta.TypeQualifierDefault;
11 import java.lang.annotation.ElementType;
12 import java.lang.annotation.Retention;
13 import java.lang.annotation.RetentionPolicy;
14
15 @interface InputOneTopLevelClassAnnotation2A {
16 String author();
17 String date();
18 }
19
20 @CheckForNull
21 @TypeQualifierDefault(ElementType.METHOD)
22 @Retention(RetentionPolicy.RUNTIME)
23 @interface InputOneTopLevelClassAnnotation2B {
24 String author();
25 int currentRevision() default 1;
26 }
27
28 public @interface InputOneTopLevelClassAnnotation2 {
29 String author();
30 String date();
31 }