aboutsummaryrefslogtreecommitdiffstats
path: root/annotations/src/main/java/com/yahoo/api/annotations/PublicApi.java
blob: 5c65a4436fb7acc70d5dc9b1b0734ec816dc93d1 (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
// 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.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * For annotating packages that should be part of the public API.
 *
 * Must be placed in a file called package-info.java in the
 * package that is to be public.
 * @author Tony Vaagenes
 * @author gjoranv
 * @since 5.1.5
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PACKAGE)
@Documented
public @interface PublicApi {
}