public enum PackageScopeTarget extends java.lang.Enum<PackageScopeTarget>
@
PackageScope is placed at the class level.Enum Constant | Description |
---|---|
CLASS |
Make the Class 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 | Description |
---|---|---|
static PackageScopeTarget |
valueOf(java.lang.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 PackageScopeTarget[] values()
for (PackageScopeTarget c : PackageScopeTarget.values()) System.out.println(c);
public static PackageScopeTarget valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null