# Uses of Package
java.lang.constant

Packages that use java.lang.constant
Package
Description
com.sun.management
This package contains the JDK's extension to the standard implementation of the `java.lang.management` API and also defines the management interface for some other components of the platform.
com.sun.net.httpserver
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.
com.sun.nio.sctp
A Java API for Stream Control Transport Protocol.
com.sun.security.jgss
This package defines classes and interfaces for the JDK extensions to the GSS-API.
com.sun.source.doctree
Provides interfaces to represent documentation comments as abstract syntax trees (AST).
com.sun.source.tree
Provides interfaces to represent source code as abstract syntax trees (AST).
com.sun.source.util
Provides utilities for operations on abstract syntax trees (AST).
com.sun.tools.jconsole
This package contains the JConsole API.
java.awt
Contains all of the classes for creating user interfaces and for painting graphics and images.
java.awt.desktop
Provides interfaces and classes for interaction with various desktop capabilities.
java.awt.event
Provides interfaces and classes for dealing with different types of events fired by AWT components.
java.awt.font
Provides classes and interface relating to fonts.
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 Java programming language.
java.lang.annotation
Provides library support for the Java programming language annotation facility.
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.
java.lang.classfile.components
Provides specific components, transformations, and tools built on top of the `java.lang.classfile`PREVIEW library.
java.lang.classfile.constantpool
Provides interfaces describing classfile constant pool entries for the `java.lang.classfile`PREVIEW library.
java.lang.classfile.instruction
Provides interfaces describing code instructions for the `java.lang.classfile`PREVIEW library.
java.lang.constant
Classes and interfaces to represent nominal descriptors for run-time entities such as classes or method handles, and classfile entities such as constant pool entries or `invokedynamic` call sites.
java.lang.invoke
The `java.lang.invoke` package provides low-level primitives for interacting with the Java Virtual Machine.
java.lang.management
Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.
java.lang.module
Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.
java.lang.reflect
Provides classes and interfaces for obtaining reflective information about classes and objects.
java.math
Provides classes for performing arbitrary-precision integer arithmetic (`BigInteger`) and arbitrary-precision decimal arithmetic (`BigDecimal`).
java.net
Provides the classes for implementing networking applications.
java.net.http
HTTP Client and WebSocket APIs
java.nio.file
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
java.nio.file.attribute
Interfaces and classes providing access to file and file system attributes.
java.security
Provides the classes and interfaces for the security framework.
java.security.cert
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
java.sql
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language.
java.text
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
java.time
The main API for dates, times, instants, and durations.
java.time.chrono
Generic API for calendar systems other than the default ISO.
java.time.format
Provides classes to print and parse dates and times.
java.time.temporal
Access to date and time using fields and units, and date time adjusters.
java.time.zone
Support for time-zones and their rules.
java.util
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
java.util.concurrent
Utility classes commonly useful in concurrent programming.
java.util.stream
Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
javax.lang.model
Types and hierarchies of packages comprising a Java language model, a reflective API that models the declarations and types of the Java programming 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.lang.model.util
Utilities to assist in the processing of program elements and types.
javax.net.ssl
Provides classes for the secure socket package.
javax.smartcardio
Java™ Smart Card I/O API.
javax.swing
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
javax.swing.event
Provides for events fired by Swing components.
javax.swing.plaf.nimbus
Provides user interface objects built according to the cross-platform Nimbus look and feel.
javax.swing.text.html
Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.
javax.tools
Provides interfaces for tools which can be invoked from a program, for example, compilers.
javax.xml.catalog
Provides the classes for implementing XML Catalogs OASIS Standard V1.1, 7 October 2005.
javax.xml.xpath
Provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment.
jdk.dynalink
Contains interfaces and classes that are used to link an `invokedynamic` call site.
jdk.dynalink.linker
Contains interfaces and classes needed by language runtimes to implement their own language-specific object models and type conversions.
jdk.incubator.vector
Incubating Feature. Will be removed in a future release.
jdk.javadoc.doclet
The Doclet API provides an environment which, in conjunction with the Language Model API and Compiler Tree API, allows clients to inspect the source-level structures of programs and libraries, including API comments embedded in the source.
jdk.jfr
This package provides classes to create events and control Flight Recorder.
jdk.jshell
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.

- Classes in java.lang.constant used by com.sun.management
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by com.sun.net.httpserver
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by com.sun.nio.sctp
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by com.sun.security.jgss
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by com.sun.source.doctree
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by com.sun.source.tree
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by com.sun.source.util
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by com.sun.tools.jconsole
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.awt
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.awt.desktop
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.awt.event
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.awt.font
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.io
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.lang
  Class
  Description
  ClassDesc
  A nominal descriptor for a `Class` constant.
  Constable
  Represents a type which is constable.
  ConstantDesc
  A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.
  DynamicConstantDesc
  A nominal descriptor for a dynamic constant (one described in the constant pool with `Constant_Dynamic_info`.)
- Classes in java.lang.constant used by java.lang.annotation
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.lang.classfilePREVIEW
  Class
  Description
  ClassDesc
  A nominal descriptor for a `Class` constant.
  Constable
  Represents a type which is constable.
  ConstantDesc
  A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.
  DynamicCallSiteDesc
  A nominal descriptor for an `invokedynamic` call site.
  MethodTypeDesc
  A nominal descriptor for a MethodType constant.
- Classes in java.lang.constant used by java.lang.classfile.attributePREVIEW
  Class
  Description
  ClassDesc
  A nominal descriptor for a `Class` constant.
  Constable
  Represents a type which is constable.
  ConstantDesc
  A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.
  MethodTypeDesc
  A nominal descriptor for a MethodType constant.
  ModuleDesc
  A nominal descriptor for a `Module` constant.
  PackageDesc
  A nominal descriptor for a `Package` constant.
- Classes in java.lang.constant used by java.lang.classfile.componentsPREVIEW
  Class
  Description
  ClassDesc
  A nominal descriptor for a `Class` constant.
  Constable
  Represents a type which is constable.
  ConstantDesc
  A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.
  MethodTypeDesc
  A nominal descriptor for a MethodType constant.
- Classes in java.lang.constant used by java.lang.classfile.constantpoolPREVIEW
  Class
  Description
  ClassDesc
  A nominal descriptor for a `Class` constant.
  ConstantDesc
  A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.
  DirectMethodHandleDesc
  A nominal descriptor for a direct `MethodHandle`.
  DynamicCallSiteDesc
  A nominal descriptor for an `invokedynamic` call site.
  DynamicConstantDesc
  A nominal descriptor for a dynamic constant (one described in the constant pool with `Constant_Dynamic_info`.)
  MethodTypeDesc
  A nominal descriptor for a MethodType constant.
  ModuleDesc
  A nominal descriptor for a `Module` constant.
  PackageDesc
  A nominal descriptor for a `Package` constant.
- Classes in java.lang.constant used by java.lang.classfile.instructionPREVIEW
  Class
  Description
  ClassDesc
  A nominal descriptor for a `Class` constant.
  ConstantDesc
  A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.
  DirectMethodHandleDesc
  A nominal descriptor for a direct `MethodHandle`.
  MethodTypeDesc
  A nominal descriptor for a MethodType constant.
- Classes in java.lang.constant used by java.lang.constant
  Class
  Description
  ClassDesc
  A nominal descriptor for a `Class` constant.
  Constable
  Represents a type which is constable.
  ConstantDesc
  A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.
  DirectMethodHandleDesc
  A nominal descriptor for a direct `MethodHandle`.
  DirectMethodHandleDesc.Kind
  Kinds of method handles that can be described with DirectMethodHandleDesc.
  DynamicCallSiteDesc
  A nominal descriptor for an `invokedynamic` call site.
  DynamicConstantDesc
  A nominal descriptor for a dynamic constant (one described in the constant pool with `Constant_Dynamic_info`.)
  MethodHandleDesc
  A nominal descriptor for a `MethodHandle` constant.
  MethodTypeDesc
  A nominal descriptor for a MethodType constant.
  ModuleDesc
  A nominal descriptor for a `Module` constant.
  PackageDesc
  A nominal descriptor for a `Package` constant.
- Classes in java.lang.constant used by java.lang.invoke
  Class
  Description
  ClassDesc
  A nominal descriptor for a `Class` constant.
  Constable
  Represents a type which is constable.
  ConstantDesc
  A nominal descriptor for a loadable constant value, as defined in JVMS 4.4.
  DynamicConstantDesc
  A nominal descriptor for a dynamic constant (one described in the constant pool with `Constant_Dynamic_info`.)
  MethodHandleDesc
  A nominal descriptor for a `MethodHandle` constant.
  MethodTypeDesc
  A nominal descriptor for a MethodType constant.
- Classes in java.lang.constant used by java.lang.management
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.lang.module
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.lang.reflect
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.math
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.net
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.net.http
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.nio.file
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.nio.file.attribute
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.security
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.security.cert
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.sql
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.text
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.time
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.time.chrono
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.time.format
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.time.temporal
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.time.zone
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.util
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.util.concurrent
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by java.util.stream
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.lang.model
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.lang.model.element
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.lang.model.type
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.lang.model.util
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.net.ssl
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.smartcardio
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.swing
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.swing.event
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.swing.plaf.nimbus
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.swing.text.html
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.tools
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.xml.catalog
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by javax.xml.xpath
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by jdk.dynalink
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by jdk.dynalink.linker
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by jdk.incubator.vector
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by jdk.javadoc.doclet
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by jdk.jfr
  Class
  Description
  Constable
  Represents a type which is constable.
- Classes in java.lang.constant used by jdk.jshell
  Class
  Description
  Constable
  Represents a type which is constable.