Top Description Methods
jakarta.enterprise.lang.model.types

public Interface VoidType

extends Type

The void pseudo-type.

Method Summary

Modifier and TypeMethod and Description
public default VoidType
asVoid()

Overrides default jakarta.enterprise.lang.model.types.Type.asVoid.

Returns this type as the void pseudo-type.

public default Type.Kind
kind()

Implements jakarta.enterprise.lang.model.types.Type.kind.

Returns the kind of this type.

public String

Returns:

the string void
name
()

Returns the name of the void pseudo-type, that is, the string void.

Inherited from jakarta.enterprise.lang.model.types.Type:
asArrayasClassasDeclarationasParameterizedTypeasPrimitiveasTypeasTypeVariableasWildcardTypeisArrayisClassisDeclarationisParameterizedTypeisPrimitiveisTypeisTypeVariableisVoidisWildcardType

Method Detail

asVoidback to summary
public default VoidType asVoid()

Overrides default jakarta.enterprise.lang.model.types.Type.asVoid.

Doc from jakarta.enterprise.lang.model.types.Type.asVoid.

Returns this type as the void pseudo-type.

Returns:VoidType

this void type, never null

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

Implements jakarta.enterprise.lang.model.types.Type.kind.

Doc from jakarta.enterprise.lang.model.types.Type.kind.

Returns the kind of this type.

Returns:Type.Kind

the kind of this type

Annotations
@Override
nameback to summary
public String name()

Returns the name of the void pseudo-type, that is, the string void.

Returns:String

the string void