Uses of Class
java.lang.Class

Packages that useClass
Package
Description
com.sun.java.accessibility.util
Provides a collection of interfaces and classes that compose the Java AccessibilityUtilities.
com.sun.source.tree
Provides interfaces to represent source code as abstract syntaxtrees (AST).
java.awt
Contains all of the classes for creating user interfaces and for paintinggraphics and images.
java.awt.datatransfer
Provides interfaces and classes for transferring data between and withinapplications.
java.awt.dnd
Drag and Drop is a direct manipulation gesture found in many Graphical UserInterface systems that provides a mechanism to transfer information betweentwo entities logically associated with presentation elements in the GUI.
java.awt.image.renderable
Provides classes and interfaces for producing rendering-independent images.
java.beans
Contains classes related to developingbeans -- components based onthe JavaBeans architecture.
java.beans.beancontext
Provides classes and interfaces relating to bean context.
java.io
Provides for system input and output through data streams,serialization and the file system.
java.lang
Provides classes that are fundamental to the design of the Javaprogramming language.
java.lang.annotation
Provides library support for the Java programming languageannotation facility.
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.constantpool
Provides interfaces describing constant pool entries for thejava.lang.classfile library.
java.lang.constant
Classes and interfaces to representnominal descriptors for run-timeentities such as classes or method handles, and classfile entities such asconstant pool entries orinvokedynamic call sites.
java.lang.foreign
Provides low-level access to memory and functions outside the Java runtime.
java.lang.instrument
Provides services that allow Java programming language agents to instrumentprograms running on the Java Virtual Machine (JVM).
java.lang.invoke
Thejava.lang.invoke package provides low-level primitives for interactingwith the Java Virtual Machine.
java.lang.management
Provides the management interfaces for monitoring and management of theJava virtual machine and other components in the Java runtime.
java.lang.reflect
Provides classes and interfaces for obtaining reflective information aboutclasses and objects.
java.lang.runtime
Thejava.lang.runtime package provides low-level runtime supportfor the Java language.
java.net
Provides the classes for implementing networking applications.
java.nio.file
Defines interfaces and classes for the Java virtual machine to access files,file attributes, and file systems.
java.nio.file.spi
Service-provider classes for thejava.nio.file package.
java.rmi.server
Provides classes and interfaces for supporting the server side of RMI.
java.security
Provides the classes and interfaces for the security framework.
java.sql
Provides the API for accessing and processing data stored in adata source (usually a relational database) using theJava programming language.
java.util
Contains the collections framework, some internationalization support classes,a service loader, properties, random number generation, string parsingand scanning classes, base64 encoding and decoding, a bit array, andseveral miscellaneous utility classes.
java.util.concurrent.atomic
A small toolkit of classes that support lock-free thread-safeprogramming on single variables.
java.util.prefs
This package allows applications to store and retrieve user and systempreference and configuration data.
javax.annotation.processing
Facilities for declaring annotation processors and forallowing annotation processors to communicate with an annotation processingtool environment.
javax.crypto
Provides the classes and interfaces for cryptographicoperations.
javax.imageio.metadata
A package of the Java Image I/O API dealing with reading and writingmetadata.
javax.imageio.spi
A package of the Java Image I/O API containing the plug-in interfaces forreaders, writers, transcoders, and streams, and a runtime registry.
javax.lang.model
Types and hierarchies of packages comprising a Java language model, a reflective API that models the declarations and types of the Javaprogramming language.
javax.lang.model.element
Interfaces used to model elements of the Java programming language.
javax.lang.model.type
Interfaces used to model Java programming language types.
javax.management
Provides the core classes for the Java Management Extensions.
javax.management.loading
Provides the classes which implement advanced dynamicloading.
javax.management.openmbean
Provides the open data types and Open MBean descriptor classes.
javax.naming.spi
Provides the means for dynamically plugging in support for accessingnaming and directory services through thejavax.namingand related packages.
javax.print
Provides the principal classes and interfaces for the Java PrintService API.
javax.print.attribute
Provides classes and interfaces that describe the types of Java PrintService attributes and how they can be collected into attribute sets.
javax.print.attribute.standard
Packagejavax.print.attribute.standard contains classes for specificprinting attributes.
javax.script
The scripting API consists of interfaces and classes that defineJava Scripting Engines and providesa framework for their use in Java applications.
javax.security.auth
This package provides a framework for authentication andauthorization.
javax.sound.midi
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI(Musical Instrument Digital Interface) data.
javax.sound.sampled
Provides interfaces and classes for capture, processing, and playback ofsampled audio data.
javax.sql
Provides the API for server side data source access and processing fromthe Java programming language.
javax.sql.rowset
Standard interfaces and base classes for JDBCRowSet implementations.
javax.sql.rowset.serial
Provides utility classes to allow serializable mappings between SQL typesand data types in the Java programming language.
javax.swing
Provides a set of "lightweight" (all-Java language) componentsthat, to the maximum degree possible, work the same on all platforms.
javax.swing.event
Provides for events fired by Swing components.
javax.swing.plaf.synth
Synth is a skinnable look and feel in which all painting is delegated.
javax.swing.table
Provides classes and interfaces for dealing withjavax.swing.JTable.
javax.swing.text
Provides classes and interfaces that deal with editable and noneditable textcomponents.
javax.swing.tree
Provides classes and interfaces for dealing withjavax.swing.JTree.
javax.tools
Provides interfaces for tools which can be invoked from a program,for example, compilers.
javax.xml.xpath
Provides anobject-model neutral API for theevaluation of XPath expressions and access to the evaluationenvironment.
jdk.dynalink.beans
Contains the linker for ordinary Java objects.
jdk.dynalink.linker
Contains interfaces and classes needed by language runtimes to implementtheir own language-specific object models and type conversions.
jdk.dynalink.linker.support
Contains classes that make it more convenient for language runtimes toimplement their own language-specific object models and type conversionsby providing basic implementations of some classes as well as variousutilities.
jdk.incubator.vector

Incubating Feature. Will be removed in a future release.
jdk.jfr
This package provides classes to create events and control Flight Recorder.
jdk.jfr.consumer
This package contains classes for consuming Flight Recorder data.
jdk.jshell.execution
Provides implementation support for building JShell execution engines.
jdk.net
Platform specific socket options for thejava.net andjava.nio.channelssocket classes.