public enum APIType extends java.lang.Enum<APIType>
These constants are used with the API
annotation type
to specify the type of the annotated API element.
Enum Constant and Description |
---|
EXTENDABLE
API element intended to be extended / implemented by the developers.
|
INTERNAL
API element intended for internal use - not accessible to developers.
|
NOT_EXTENDABLE
API element intended for use-only purposes, not for inheritance.
|
Modifier and Type | Field and Description |
---|---|
int |
priority
The priority of this api type constant.
|
Modifier and Type | Method and Description |
---|---|
static APIType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIType EXTENDABLE
public static final APIType NOT_EXTENDABLE
public static final APIType INTERNAL
public static APIType[] values()
for (APIType c : APIType.values()) System.out.println(c);
public static APIType 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.