aboutsummaryrefslogtreecommitdiffstats
path: root/annotations/src/main/java/com/yahoo/api/annotations/Beta.java
blob: d162ee11e8cf913ba9042cbc7d7a1cc17f401d65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.api.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Signifies that the annotated Java type/method/constructor is under development and may still change before they stabilize.
 * Should only be used on a type that part of a package annotated with {@link PublicApi}.
 *
 * @see <a href="https://docs.vespa.ai/en/vespa-versions.html">https://docs.vespa.ai/en/vespa-versions.html</a>
 *
 * @author bjorncs
 */
@Retention(RetentionPolicy.CLASS)
@Target({
        ElementType.CONSTRUCTOR,
        ElementType.METHOD,
        ElementType.TYPE,
        ElementType.FIELD
})
public @interface Beta {}