public enum SourceType extends java.lang.Enum<SourceType>
These constants are used with the API
annotation type.
Enum Constant and Description |
---|
PRIVATE
Source code not available to end users.
|
PUBLIC
Source code available to end users.
|
Modifier and Type | Method and Description |
---|---|
static SourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceType PUBLIC
public static final SourceType PRIVATE
public static SourceType[] values()
for (SourceType c : SourceType.values()) System.out.println(c);
public static SourceType 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© Copyright Syncro Soft SRL 2002 - 2014.