## Uses of Interface
java.lang.reflect.GenericDeclaration

- Packages that use GenericDeclaration
  Package | Description
  --- | ---
  java.lang | Provides classes that are fundamental to the design of the Java programming language.
  java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects.

- - ### Uses of GenericDeclaration in java.lang

    Classes in java.lang that implement GenericDeclaration
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Class<T>` Instances of the class `Class` represent classes and interfaces in a running Java application.

  - ### Uses of GenericDeclaration in java.lang.reflect

    Classes in java.lang.reflect with type parameters of type GenericDeclaration
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `TypeVariable<D extends GenericDeclaration>` TypeVariable is the common superinterface for type variables of kinds.

    Classes in java.lang.reflect that implement GenericDeclaration
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Constructor<T>` `Constructor` provides information about, and access to, a single constructor for a class.
    `class` | `Executable` A shared superclass for the common functionality of `Method` and `Constructor`.
    `class` | `Method` A `Method` provides information about, and access to, a single method on a class or interface.

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.