All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.PublicApi Maven / Gradle / Ivy

The newest version!
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.FIELD;
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, FIELD})
@Documented
public @interface PublicApi {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy