Modifier and Type | Method and Description |
---|---|
static Type.Kind |
Type.Kind.fromOrdinal(int ordinal)
This method exists since the brainiacs that designed java thought
that not only should enums be complex objects instead of simple
integral types like every other sane language, they also should have
the sole mechanism to reverse an ordinal (values() method) perform an
array copy.
|
Type.Kind |
Type.kind()
Returns the kind of Type this is.
|
static Type.Kind |
Type.Kind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.Kind[] |
Type.Kind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Type |
Type.create(DotName name,
Type.Kind kind) |
Copyright © 2014 JBoss by Red Hat. All rights reserved.