Package org.jboss.jandex
Class VoidType
java.lang.Object
org.jboss.jandex.Type
org.jboss.jandex.VoidType
- All Implemented Interfaces:
Descriptor
Specifies "void" in a method signature.
- Author:
- Jason T. Greene
- Since:
- 2.0
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class org.jboss.jandex.Type
EMPTY_ARRAYFields inherited from interface org.jboss.jandex.Descriptor
NO_SUBSTITUTION -
Method Summary
Modifier and TypeMethodDescriptionCasts this type to aVoidTypeand returns it if the kind isType.Kind.VOID.kind()Returns the kind of Type this is.Methods inherited from class org.jboss.jandex.Type
annotation, annotations, annotationsWithRepeatable, asArrayType, asClassType, asParameterizedType, asPrimitiveType, asTypeVariable, asTypeVariableReference, asUnresolvedTypeVariable, asWildcardType, create, createWithAnnotations, descriptor, equals, hasAnnotation, hashCode, name, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.jandex.Descriptor
descriptor
-
Field Details
-
VOID
-
-
Method Details
-
kind
Description copied from class:TypeReturns the kind of Type this is. -
asVoidType
Description copied from class:TypeCasts this type to aVoidTypeand returns it if the kind isType.Kind.VOID. Throws an exception otherwise.- Overrides:
asVoidTypein classType- Returns:
- a
VoidType
-