Annotation Interface Internal


An annotation for things internal to an implementation For organization, some interfaces and classes exist in packages outside where they are used, and method access is required. Java allows those methods to be accessed from any package. This annotation is applied to public methods which should not be accessed outside the implementation. A decent way to manually verify this is to ensure that any method marked with this annotation is not listed in the exported interface. Generally, this means no method should have both Override and Internal applied.