File tree Expand file tree Collapse file tree 12 files changed +145
-0
lines changed
src/main/java/com/github/codestickers Expand file tree Collapse file tree 12 files changed +145
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .annotation .Documented ;
4
4
import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Repeatable ;
5
6
import java .lang .annotation .Retention ;
6
7
import java .lang .annotation .RetentionPolicy ;
7
8
import java .lang .annotation .Target ;
Original file line number Diff line number Diff line change 17
17
ElementType .TYPE_PARAMETER ,
18
18
ElementType .TYPE_USE })
19
19
@ Documented
20
+ @ Repeatable (FixMes .class )
20
21
public @interface FixMe {
21
22
String value () default "" ;
22
23
}
Original file line number Diff line number Diff line change
1
+ package com .github .codestickers ;
2
+
3
+ import java .lang .annotation .Documented ;
4
+ import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Retention ;
6
+ import java .lang .annotation .RetentionPolicy ;
7
+ import java .lang .annotation .Target ;
8
+
9
+ /**
10
+ * A container for annotation repetition.
11
+ */
12
+ @ Retention (RetentionPolicy .CLASS )
13
+ @ Target ({ElementType .TYPE ,
14
+ ElementType .FIELD ,
15
+ ElementType .METHOD ,
16
+ ElementType .PARAMETER ,
17
+ ElementType .CONSTRUCTOR ,
18
+ ElementType .LOCAL_VARIABLE ,
19
+ ElementType .ANNOTATION_TYPE ,
20
+ ElementType .PACKAGE ,
21
+ ElementType .TYPE_PARAMETER ,
22
+ ElementType .TYPE_USE })
23
+ @ Documented
24
+ public @interface FixMes
25
+ {
26
+ FixMe [] value ();
27
+ }
Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .annotation .Documented ;
4
4
import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Repeatable ;
5
6
import java .lang .annotation .Retention ;
6
7
import java .lang .annotation .RetentionPolicy ;
7
8
import java .lang .annotation .Target ;
21
22
ElementType .TYPE_PARAMETER ,
22
23
ElementType .TYPE_USE })
23
24
@ Documented
25
+ @ Repeatable (Hints .class )
24
26
public @interface Hint {
25
27
String value () default "" ;
26
28
}
Original file line number Diff line number Diff line change
1
+ package com .github .codestickers ;
2
+
3
+ import java .lang .annotation .Documented ;
4
+ import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Retention ;
6
+ import java .lang .annotation .RetentionPolicy ;
7
+ import java .lang .annotation .Target ;
8
+
9
+ /**
10
+ * A container for annotation repetition.
11
+ */
12
+ @ Retention (RetentionPolicy .CLASS )
13
+ @ Target ({ElementType .TYPE ,
14
+ ElementType .FIELD ,
15
+ ElementType .METHOD ,
16
+ ElementType .PARAMETER ,
17
+ ElementType .CONSTRUCTOR ,
18
+ ElementType .LOCAL_VARIABLE ,
19
+ ElementType .ANNOTATION_TYPE ,
20
+ ElementType .PACKAGE ,
21
+ ElementType .TYPE_PARAMETER ,
22
+ ElementType .TYPE_USE })
23
+ @ Documented
24
+ public @interface Hints
25
+ {
26
+ Hint [] value ();
27
+ }
Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .annotation .Documented ;
4
4
import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Repeatable ;
5
6
import java .lang .annotation .Retention ;
6
7
import java .lang .annotation .RetentionPolicy ;
7
8
import java .lang .annotation .Target ;
21
22
ElementType .TYPE_PARAMETER ,
22
23
ElementType .TYPE_USE })
23
24
@ Documented
25
+ @ Repeatable (Notes .class )
24
26
public @interface Note
25
27
{
26
28
String value () default "" ;
Original file line number Diff line number Diff line change
1
+ package com .github .codestickers ;
2
+
3
+ import java .lang .annotation .Documented ;
4
+ import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Retention ;
6
+ import java .lang .annotation .RetentionPolicy ;
7
+ import java .lang .annotation .Target ;
8
+
9
+ /**
10
+ * A container for annotation repetition.
11
+ */
12
+ @ Retention (RetentionPolicy .CLASS )
13
+ @ Target ({ElementType .TYPE ,
14
+ ElementType .FIELD ,
15
+ ElementType .METHOD ,
16
+ ElementType .PARAMETER ,
17
+ ElementType .CONSTRUCTOR ,
18
+ ElementType .LOCAL_VARIABLE ,
19
+ ElementType .ANNOTATION_TYPE ,
20
+ ElementType .PACKAGE ,
21
+ ElementType .TYPE_PARAMETER ,
22
+ ElementType .TYPE_USE })
23
+ @ Documented
24
+ public @interface Notes
25
+ {
26
+ Note [] value ();
27
+ }
Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .annotation .Documented ;
4
4
import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Repeatable ;
5
6
import java .lang .annotation .Retention ;
6
7
import java .lang .annotation .RetentionPolicy ;
7
8
import java .lang .annotation .Target ;
21
22
ElementType .TYPE_PARAMETER ,
22
23
ElementType .TYPE_USE })
23
24
@ Documented
25
+ @ Repeatable (Sees .class )
24
26
public @interface See {
25
27
String value () default "" ;
26
28
}
Original file line number Diff line number Diff line change
1
+ package com .github .codestickers ;
2
+
3
+ import java .lang .annotation .Documented ;
4
+ import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Retention ;
6
+ import java .lang .annotation .RetentionPolicy ;
7
+ import java .lang .annotation .Target ;
8
+
9
+ /**
10
+ * A container for annotation repetition.
11
+ */
12
+ @ Retention (RetentionPolicy .CLASS )
13
+ @ Target ({ElementType .TYPE ,
14
+ ElementType .FIELD ,
15
+ ElementType .METHOD ,
16
+ ElementType .PARAMETER ,
17
+ ElementType .CONSTRUCTOR ,
18
+ ElementType .LOCAL_VARIABLE ,
19
+ ElementType .ANNOTATION_TYPE ,
20
+ ElementType .PACKAGE ,
21
+ ElementType .TYPE_PARAMETER ,
22
+ ElementType .TYPE_USE })
23
+ @ Documented
24
+ public @interface Sees
25
+ {
26
+ See [] value ();
27
+ }
Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .annotation .Documented ;
4
4
import java .lang .annotation .ElementType ;
5
+ import java .lang .annotation .Repeatable ;
5
6
import java .lang .annotation .Retention ;
6
7
import java .lang .annotation .RetentionPolicy ;
7
8
import java .lang .annotation .Target ;
You can’t perform that action at this time.
0 commit comments