Skip to content

Commit bc197d9

Browse files
committed
added Internal annotation
1 parent 6c57740 commit bc197d9

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

src/main/java/com/saasquatch/jsonschemainferrer/annotations/Beta.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @author sli
1010
*/
1111
@Retention(RetentionPolicy.SOURCE) // Only used for documentation
12+
@Internal
1213
public @interface Beta {
1314

1415
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.saasquatch.jsonschemainferrer.annotations;
2+
3+
import java.lang.annotation.Retention;
4+
import java.lang.annotation.RetentionPolicy;
5+
6+
/**
7+
* Indicates that an element is considered internal and should not be used externally regardless of
8+
* its actual visibility.
9+
*
10+
* @author sli
11+
*/
12+
@Retention(RetentionPolicy.SOURCE) // Only used for documentation
13+
@Internal // This annotation itself is internal
14+
public @interface Internal {
15+
16+
}

src/main/java/com/saasquatch/jsonschemainferrer/annotations/VisibleForTesting.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @author sli
1010
*/
1111
@Retention(RetentionPolicy.SOURCE) // Only used for documentation
12+
@Internal
1213
public @interface VisibleForTesting {
1314

1415
}

0 commit comments

Comments
 (0)