Member or type signature.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | AccessControl.Visibility
Access visibility types as determined by the modifiers
on a |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final AccessControl. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static AccessControl | Returns: theAccessControl for the classthe source class type)Create an |
| public static AccessControl | Returns: theAccessControl for the memberthe source member member)Create an |
| public static AccessControl | Returns: theAccessControl for the typethe source resolvable type resolvableType)Create an |
| public AccessControl. | |
| public boolean | Returns: true if it is accessiblethe type to check type)Specify whether the member or type signature backed by this instance is
accessible from the specified |
| public boolean | Returns: true if it is publicReturn whether the member or type signature backed by ths instance is accessible from any package. |
| public static AccessControl | Returns: the lowestAccessControl from the candidatesthe candidates to check candidates)Returns the lowest |
| target | back to summary |
|---|---|
| private final Class<?> target | |
| visibility | back to summary |
|---|---|
| private final AccessControl. | |
| AccessControl | back to summary |
|---|---|
| pack-priv AccessControl(Class<?> target, AccessControl. | |
| forClass | back to summary |
|---|---|
| public static AccessControl forClass(Class<?> type) Create an
| |
| forMember | back to summary |
|---|---|
| public static AccessControl forMember(Member member) Create an
| |
| forResolvableType | back to summary |
|---|---|
| public static AccessControl forResolvableType(ResolvableType resolvableType) Create an
| |
| getVisibility | back to summary |
|---|---|
| public AccessControl. Return the lowest
| |
| isAccessibleFrom | back to summary |
|---|---|
| public boolean isAccessibleFrom(ClassName type) Specify whether the member or type signature backed by this instance is
accessible from the specified
| |
| isPublic | back to summary |
|---|---|
| public boolean isPublic() Return whether the member or type signature backed by ths instance is accessible from any package.
| |
| lowest | back to summary |
|---|---|
| public static AccessControl lowest(AccessControl... candidates) Returns the lowest
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final AccessControl. | PACKAGE_PRIVATE
Package-private visibility. |
| public static final AccessControl. | PRIVATE
Private visibility. |
| public static final AccessControl. | PROTECTED
Protected visibility. |
| public static final AccessControl. | PUBLIC
Public visibility. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static AccessControl. | |
| private static AccessControl. | |
| private static AccessControl. | |
| private static AccessControl. | |
| private static AccessControl. | |
| private static AccessControl. | |
| pack-priv static AccessControl. | Returns: the lowestVisibility from the candidatesthe candidates to check candidatesReturns the lowest |
| pack-priv static int | Returns: the index of the lowestVisibility from the candidatesthe candidates to check candidatesReturns the index of the lowest |
| public static AccessControl. | |
| public static AccessControl. |
| PACKAGE_PRIVATE | back to summary |
|---|---|
| public static final AccessControl. Package-private visibility. The member or type is only visible to classes in the same package. | |
| PRIVATE | back to summary |
|---|---|
| public static final AccessControl. Private visibility. The member or type is not visible to other classes. | |
| PROTECTED | back to summary |
|---|---|
| public static final AccessControl. Protected visibility. The member or type is only visible to classes in the same package or subclasses. | |
| PUBLIC | back to summary |
|---|---|
| public static final AccessControl. Public visibility. The member or type is visible to all classes. | |
| Visibility | back to summary |
|---|---|
| private Visibility() | |
| forClass | back to summary |
|---|---|
| private static AccessControl. | |
| forMember | back to summary |
|---|---|
| private static AccessControl. | |
| forModifiers | back to summary |
|---|---|
| private static AccessControl. | |
| forParameterTypes | back to summary |
|---|---|
| private static AccessControl. | |
| forResolvableType | back to summary |
|---|---|
| private static AccessControl. | |
| forResolvableType | back to summary |
|---|---|
| private static AccessControl. | |
| lowest | back to summary |
|---|---|
| pack-priv static AccessControl. Returns the lowest
| |
| lowestIndex | back to summary |
|---|---|
| pack-priv static int lowestIndex(AccessControl. Returns the index of the lowest
| |
| valueOf | back to summary |
|---|---|
| public static AccessControl. | |
| values | back to summary |
|---|---|
| public static AccessControl. | |