Java™ Platform
Standard Ed. 8

Uses of Package
java.lang.reflect

  • Packages that use java.lang.reflect 
    Package Description
    java.awt
    Contains all of the classes for creating user interfaces and for painting graphics and images.
    java.beans
    Contains classes related to developing beans -- components based on the JavaBeans™ architecture.
    java.lang
    Provides classes that are fundamental to the design of the Java programming language.
    java.lang.annotation
    Provides library support for the Java programming language annotation facility.
    java.lang.invoke
    The java.lang.invoke package contains dynamic language support provided directly by the Java core class libraries and virtual machine.
    java.lang.reflect
    Provides classes and interfaces for obtaining reflective information about classes and objects.
    java.rmi.server
    Provides classes and interfaces for supporting the server side of RMI.
    javax.management
    Provides the core classes for the Java Management Extensions.
    javax.management.modelmbean
    Provides the definition of the ModelMBean classes.
    javax.management.openmbean
    Provides the open data types and Open MBean descriptor classes.
    javax.sql.rowset.serial
    Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
    javax.swing
    Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
    javax.xml.ws.spi
    This package defines SPIs for JAX-WS.
  • Classes in java.lang.reflect used by java.awt 
    Class and Description
    InvocationTargetException
    InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.
  • Classes in java.lang.reflect used by java.beans 
    Class and Description
    InvocationHandler
    InvocationHandler is the interface implemented by the invocation handler of a proxy instance.
    Method
    A Method provides information about, and access to, a single method on a class or interface.
  • Classes in java.lang.reflect used by java.lang 
    Class and Description
    AnnotatedElement
    Represents an annotated element of the program currently running in this VM.
    AnnotatedType
    AnnotatedType represents the potentially annotated use of a type in the program currently running in this VM.
    Constructor
    Constructor provides information about, and access to, a single constructor for a class.
    Field
    A Field provides information about, and dynamic access to, a single field of a class or an interface.
    GenericDeclaration
    A common interface for all entities that declare type variables.
    Method
    A Method provides information about, and access to, a single method on a class or interface.
    Type
    Type is the common superinterface for all types in the Java programming language.
    TypeVariable
    TypeVariable is the common superinterface for type variables of kinds.
  • Classes in java.lang.reflect used by java.lang.annotation 
    Class and Description
    Method
    A Method provides information about, and access to, a single method on a class or interface.
  • Classes in java.lang.reflect used by java.lang.invoke 
    Class and Description
    Constructor
    Constructor provides information about, and access to, a single constructor for a class.
    Field
    A Field provides information about, and dynamic access to, a single field of a class or an interface.
    Member
    Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor.
    Method
    A Method provides information about, and access to, a single method on a class or interface.
  • Classes in java.lang.reflect used by java.lang.reflect 
    Class and Description
    AccessibleObject
    The AccessibleObject class is the base class for Field, Method and Constructor objects.
    AnnotatedElement
    Represents an annotated element of the program currently running in this VM.
    AnnotatedType
    AnnotatedType represents the potentially annotated use of a type in the program currently running in this VM.
    Executable
    A shared superclass for the common functionality of Method and Constructor.
    GenericDeclaration
    A common interface for all entities that declare type variables.
    InvocationHandler
    InvocationHandler is the interface implemented by the invocation handler of a proxy instance.
    InvocationTargetException
    InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.
    Member
    Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor.
    Method
    A Method provides information about, and access to, a single method on a class or interface.
    Parameter
    Information about method parameters.
    Type
    Type is the common superinterface for all types in the Java programming language.
    TypeVariable
    TypeVariable is the common superinterface for type variables of kinds.
  • Classes in java.lang.reflect used by java.rmi.server 
    Class and Description
    InvocationHandler
    InvocationHandler is the interface implemented by the invocation handler of a proxy instance.
    Method
    A Method provides information about, and access to, a single method on a class or interface.
  • Classes in java.lang.reflect used by javax.management 
    Class and Description
    Constructor
    Constructor provides information about, and access to, a single constructor for a class.
    InvocationHandler
    InvocationHandler is the interface implemented by the invocation handler of a proxy instance.
    Method
    A Method provides information about, and access to, a single method on a class or interface.
  • Classes in java.lang.reflect used by javax.management.modelmbean 
    Class and Description
    Constructor
    Constructor provides information about, and access to, a single constructor for a class.
    Method
    A Method provides information about, and access to, a single method on a class or interface.
  • Classes in java.lang.reflect used by javax.management.openmbean 
    Class and Description
    InvocationHandler
    InvocationHandler is the interface implemented by the invocation handler of a proxy instance.
    Method
    A Method provides information about, and access to, a single method on a class or interface.
  • Classes in java.lang.reflect used by javax.sql.rowset.serial 
    Class and Description
    Field
    A Field provides information about, and dynamic access to, a single field of a class or an interface.
  • Classes in java.lang.reflect used by javax.swing 
    Class and Description
    InvocationTargetException
    InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.
  • Classes in java.lang.reflect used by javax.xml.ws.spi 
    Class and Description
    InvocationTargetException
    InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.
    Method
    A Method provides information about, and access to, a single method on a class or interface.
Java™ Platform
Standard Ed. 8

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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部