| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true for items with package private access;
false otherwise.Determines if this object mirrors a package private item. |
| public boolean | Returns: true for items with private access;
false otherwise.Determines if this object mirrors a private item. |
| public boolean | Returns: true for items with private access;
false otherwise.Determines if this object mirrors a protected item. |
| public boolean | Returns: true for items with public access;
false otherwise.Determines if this object mirrors a public item. |
| public int |
| isPackagePrivate | back to summary |
|---|---|
| public boolean isPackagePrivate() Determines if this object mirrors a package private item.
A package private item is declared with no access specifier.
For
| |
| isPrivate | back to summary |
|---|---|
| public boolean isPrivate() Determines if this object mirrors a private item.
For
| |
| isProtected | back to summary |
|---|---|
| public boolean isProtected() Determines if this object mirrors a protected item.
For
| |
| isPublic | back to summary |
|---|---|
| public boolean isPublic() Determines if this object mirrors a public item.
For
| |
| modifiers | back to summary |
|---|---|
| public int modifiers() Returns the Java programming language modifiers, encoded in an integer.
The modifier encodings are defined in
The Java Virtual Machine Specification
in the | |