Annotation Type PackagePrivate
@Target({TYPE,FIELD,CONSTRUCTOR,METHOD,ANNOTATION_TYPE})
@Retention(SOURCE)
public @interface PackagePrivate
Used to indicate the explicit intention for the annotated entity to have the package private access level.
Currently used by
FieldDefaults
and Value
to avoid having it make a field one of public
, protected
, or private
.