public enum PackageScopeTarget extends Enum<PackageScopeTarget>
@
PackageScope is placed at the class level.Enum Constant and Description |
---|
CLASS
Make the Class have package protected visibility.
|
CONSTRUCTORS
Make the Class constructors have package protected visibility.
|
FIELDS
Make the Class fields have package protected visibility.
|
METHODS
Make the Class methods have package protected visibility.
|
Modifier and Type | Method and Description |
---|---|
static PackageScopeTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackageScopeTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageScopeTarget CLASS
public static final PackageScopeTarget METHODS
public static final PackageScopeTarget FIELDS
public static final PackageScopeTarget CONSTRUCTORS
public static PackageScopeTarget[] values()
for (PackageScopeTarget c : PackageScopeTarget.values()) System.out.println(c);
public static PackageScopeTarget 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 null