Top Description Fields Constructors Methods
org.jboss.jandex

public Class VoidType

extends Type
Class Inheritance

Specifies "void" in a method signature.
Author
Jason T. Greene
Since
2.0

Field Summary

Modifier and TypeField and Description
public static final VoidType
Inherited from org.jboss.jandex.Type:
EMPTY_ARRAY

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public VoidType
asVoidType()

Overrides org.jboss.jandex.Type.asVoidType.

Casts this type to a org.jboss.jandex.VoidType and returns it if the kind is Kind#VOID.
pack-priv Type
copyType(AnnotationInstance[] newAnnotations)

Implements abstract org.jboss.jandex.Type.copyType.

public Type.Kind
kind()

Implements abstract org.jboss.jandex.Type.kind.

Returns the kind of Type this is.
Inherited from org.jboss.jandex.Type:
addAnnotationannotationannotationArrayannotationsannotationsWithRepeatableappendAnnotationsasArrayTypeasClassTypeasParameterizedTypeasPrimitiveTypeasTypeVariableasTypeVariableReferenceasUnresolvedTypeVariableasWildcardTypecreatecreateWithAnnotationsdescriptorequalshasAnnotationhashCodeinternEqualsinternHashCodenametoStringtoString

Field Detail

VOIDback to summary
public static final VoidType VOID

Constructor Detail

VoidTypeback to summary
private VoidType(AnnotationInstance[] annotations)

Method Detail

asVoidTypeback to summary
public VoidType asVoidType()

Overrides org.jboss.jandex.Type.asVoidType.

Doc from org.jboss.jandex.Type.asVoidType.

Casts this type to a org.jboss.jandex.VoidType and returns it if the kind is Kind#VOID. Throws an exception otherwise.

Returns:VoidType

a VoidType

Annotations
@Override
copyTypeback to summary
pack-priv Type copyType(AnnotationInstance[] newAnnotations)

Implements abstract org.jboss.jandex.Type.copyType.

Annotations
@Override
kindback to summary
public Type.Kind kind()

Implements abstract org.jboss.jandex.Type.kind.

Doc from org.jboss.jandex.Type.kind.

Returns the kind of Type this is.

Returns:Type.Kind

the kind

Annotations
@Override