Modifier and Type | Method and Description |
---|---|
ArrayType |
Type.asArrayType()
Casts this type to an
ArrayType and returns it if the kind is
Type.Kind.ARRAY
Throws an exception otherwise. |
ArrayType |
ArrayType.asArrayType() |
static ArrayType |
ArrayType.create(Type component,
int dimensions)
Create a new mock array type instance with the specified component
and dimensions.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.