Modifier and Type | Field and Description |
---|---|
static PrimitiveType |
PrimitiveType.BOOLEAN |
static PrimitiveType |
PrimitiveType.BYTE |
static PrimitiveType |
PrimitiveType.CHAR |
static PrimitiveType |
PrimitiveType.DOUBLE |
static PrimitiveType |
PrimitiveType.FLOAT |
static PrimitiveType |
PrimitiveType.INT |
static PrimitiveType |
PrimitiveType.LONG |
static PrimitiveType |
PrimitiveType.SHORT |
Modifier and Type | Method and Description |
---|---|
PrimitiveType |
Type.asPrimitiveType()
Casts this type to a
PrimitiveType and returns it if the kind is
Type.Kind.PRIMITIVE
Throws an exception otherwise. |
PrimitiveType |
PrimitiveType.asPrimitiveType() |
Copyright © 2018 JBoss by Red Hat. All rights reserved.