forked from graphql-java/graphql-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPublicApi.java
More file actions
23 lines (20 loc) · 804 Bytes
/
PublicApi.java
File metadata and controls
23 lines (20 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package graphql;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
/**
* This represents code that the graphql-java project considers public API and has an imperative to be stable within
* major releases.
*
* The guarantee is for code calling classes and interfaces with this annotation, not derived from them. New methods
* maybe be added which would break derivations but not callers.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {CONSTRUCTOR, METHOD, TYPE})
@Documented
public @interface PublicApi {
}