public static enum UseSite.Type extends Enum<UseSite.Type>
| Enum Constant and Description |
|---|
ANNOTATES
The used class annotates the use site.
|
CONTAINS
The used class contains the use site (inner class).
|
HAS_TYPE
The use site (field) has the type of the used class.
|
IS_IMPLEMENTED
The used class is implemented by the use site (class).
|
IS_INHERITED
The used class is inherited by the use site (class).
|
IS_THROWN
The use site (method) throws exceptions of the type of the used
class.
|
PARAMETER_TYPE
One of the parameters of the use site (method) has the type
of the used class.
|
RETURN_TYPE
The use site (method) returns instances the used class.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<UseSite.Type> |
all() |
static EnumSet<UseSite.Type> |
allBut(UseSite.Type... types) |
static UseSite.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UseSite.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UseSite.Type ANNOTATES
public static final UseSite.Type IS_INHERITED
public static final UseSite.Type IS_IMPLEMENTED
public static final UseSite.Type HAS_TYPE
public static final UseSite.Type RETURN_TYPE
public static final UseSite.Type PARAMETER_TYPE
public static final UseSite.Type IS_THROWN
public static final UseSite.Type CONTAINS
public static UseSite.Type[] values()
for (UseSite.Type c : UseSite.Type.values()) System.out.println(c);
public static UseSite.Type 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 nullpublic static EnumSet<UseSite.Type> all()
public static EnumSet<UseSite.Type> allBut(UseSite.Type... types)
Copyright © 2015. All Rights Reserved.