Uses of Interface javax.lang.model.type.NoType (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
javax.lang.model.type.NoType

- Packages that use NoType
  Package | Description
  --- | ---
  javax.lang.model.type | Interfaces used to model Java programming language types.
  javax.lang.model.util | Utilities to assist in the processing of program elements and types.

- - ### Uses of NoType in javax.lang.model.type

    Methods in javax.lang.model.type with parameters of type NoType
    Modifier and Type | Method and Description
    --- | ---
    `R` | TypeVisitor.`visitNoType(NoType t, P p)` Visits a `NoType` instance.

  - ### Uses of NoType in javax.lang.model.util

    Methods in javax.lang.model.util that return NoType
    Modifier and Type | Method and Description
    --- | ---
    `NoType` | Types.`getNoType(TypeKind kind)` Returns a pseudo-type used where no actual type is appropriate.

    Methods in javax.lang.model.util with parameters of type NoType
    Modifier and Type | Method and Description
    --- | ---
    `R` | SimpleTypeVisitor6.`visitNoType(NoType t, P p)` Visits a `NoType` instance.
    `R` | TypeKindVisitor6.`visitNoType(NoType t, P p)` Visits a `NoType` instance, dispatching to the visit method for the specific kind of pseudo-type: `VOID`, `PACKAGE`, or `NONE`.
    `R` | TypeKindVisitor6.`visitNoTypeAsNone(NoType t, P p)` Visits a `NONE` pseudo-type by calling `defaultAction`.
    `R` | TypeKindVisitor6.`visitNoTypeAsPackage(NoType t, P p)` Visits a `PACKAGE` pseudo-type by calling `defaultAction`.
    `R` | TypeKindVisitor6.`visitNoTypeAsVoid(NoType t, P p)` Visits a `VOID` pseudo-type by calling `defaultAction`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.