public static enum ConstrainedElement.ConstrainedElementKind extends Enum<ConstrainedElement.ConstrainedElementKind>
ConstrainedElement
. Can be used to determine an
element's type when traversing over a collection of constrained elements.Enum Constant and Description |
---|
CONSTRUCTOR |
FIELD |
METHOD |
PARAMETER |
TYPE |
TYPE_USE |
Modifier and Type | Method and Description |
---|---|
static ConstrainedElement.ConstrainedElementKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstrainedElement.ConstrainedElementKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstrainedElement.ConstrainedElementKind TYPE
public static final ConstrainedElement.ConstrainedElementKind FIELD
public static final ConstrainedElement.ConstrainedElementKind CONSTRUCTOR
public static final ConstrainedElement.ConstrainedElementKind METHOD
public static final ConstrainedElement.ConstrainedElementKind PARAMETER
public static final ConstrainedElement.ConstrainedElementKind TYPE_USE
public static ConstrainedElement.ConstrainedElementKind[] values()
for (ConstrainedElement.ConstrainedElementKind c : ConstrainedElement.ConstrainedElementKind.values()) System.out.println(c);
public static ConstrainedElement.ConstrainedElementKind 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 nullCopyright © 2017 JBoss by Red Hat. All rights reserved.