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

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

- Packages that use NullType
  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 NullType in javax.lang.model.type

    Methods in javax.lang.model.type with parameters of type NullType
    Modifier and Type | Method and Description
    --- | ---
    `R` | TypeVisitor.`visitNull(NullType t, P p)` Visits the null type.

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

    Methods in javax.lang.model.util that return NullType
    Modifier and Type | Method and Description
    --- | ---
    `NullType` | Types.`getNullType()` Returns the null type.

    Methods in javax.lang.model.util with parameters of type NullType
    Modifier and Type | Method and Description
    --- | ---
    `R` | SimpleTypeVisitor6.`visitNull(NullType t, P p)` Visits the null type.

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.