Serializable, Comparable<UseSite.Type>public static enum UseSite.Type extends Enum<UseSite.Type>
| Enum Constant | 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 of the used class.
|
TYPE_PARAMETER_OR_BOUND |
The used class is used as a type parameter or a bound of a type variable or wildcard on the use site
(which can be a class, field, method or a method parameter).
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isMovingToApi() |
|
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 final UseSite.Type TYPE_PARAMETER_OR_BOUND
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 boolean isMovingToApi()
Copyright © 2017 Lukas Krejci. All Rights Reserved.