Interface VoidType

All Superinterfaces:
AnnotationTarget, Type

public interface VoidType extends Type
The void pseudo-type.
  • Method Details

    • name

      String name()
      Returns the name of the void pseudo-type, that is, the string void.
      Returns:
      the string void
    • kind

      default Type.Kind kind()
      Description copied from interface: Type
      Returns the kind of this type.
      Specified by:
      kind in interface Type
      Returns:
      the kind of this type
    • asVoid

      default VoidType asVoid()
      Description copied from interface: Type
      Returns this type as the void pseudo-type.
      Specified by:
      asVoid in interface Type
      Returns:
      this void type, never null