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

akka.annotation.InternalApi Maven / Gradle / Ivy

/*
 * Copyright (C) 2017-2020 Lightbend Inc. 
 */

package akka.annotation;

import java.lang.annotation.*;

/**
 * Marks APIs that are considered internal to Akka and may change at any point in time without any
 * warning.
 *
 * 

For example, this annotation should be used when the Scala {@code private[akka]} access * restriction is used, as Java has no way of representing this package restricted access and such * methods and classes are represented as {@code public} in byte-code. * *

If a method/class annotated with this method has a javadoc/scaladoc comment, the first line * MUST include {@code INTERNAL API} in order to be easily identifiable from generated * documentation. Additional information may be put on the same line as the INTERNAL API comment in * order to clarify further. */ @Documented @Retention(RetentionPolicy.CLASS) // to be accessible by MiMa @Target({ ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.TYPE, ElementType.PACKAGE }) public @interface InternalApi {}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy