public enum MemberVisibility extends Enum<MemberVisibility>
Enum Constant and Description |
---|
PackagePrivate |
Private |
Protected |
Public |
Modifier and Type | Method and Description |
---|---|
static MemberVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberVisibility Public
public static final MemberVisibility Protected
public static final MemberVisibility Private
public static final MemberVisibility PackagePrivate
public static MemberVisibility[] values()
for (MemberVisibility c : MemberVisibility.values()) System.out.println(c);
public static MemberVisibility valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2005–2024 Onix Solutions. All rights reserved.