Class TypeVoid

java.lang.Object
dk.mada.jaxrs.model.types.TypeVoid
All Implemented Interfaces:
Type

public final class TypeVoid extends Object implements Type
Special type for handing void type.
  • Method Details

    • get

      public static TypeVoid get()
      Returns the type object representing void.
      Returns:
      the type object representing void
    • getRef

      public static TypeReference getRef()
      Returns the reference to void.
      Returns:
      the reference to void
    • typeName

      public TypeName typeName()
      Description copied from interface: Type
      Returns the type name.
      Specified by:
      typeName in interface Type
      Returns:
      the type name
    • isVoid

      public boolean isVoid()
      Description copied from interface: Type
      Returns true if this type represents void.
      Specified by:
      isVoid in interface Type
      Returns:
      true if this type represents void