public class VoidType extends Type
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
VoidType |
asVoidType()
Casts this type to a
VoidType and returns it if the kind is
Type.Kind.VOID
Throws an exception otherwise. |
Type.Kind |
kind()
Returns the kind of Type this is.
|
annotations, asArrayType, asClassType, asParameterizedType, asPrimitiveType, asTypeVariable, asUnresolvedTypeVariable, asWildcardType, create, equals, hashCode, name, toString
public VoidType asVoidType()
Type
VoidType
and returns it if the kind is
Type.Kind.VOID
Throws an exception otherwise.asVoidType
in class Type
ClassType
Copyright © 2018 JBoss by Red Hat. All rights reserved.