| Package | Description | 
|---|---|
| java.lang | Provides classes that are fundamental to the design of the Java
 programming language. | 
| java.lang.invoke | The  java.lang.invokepackage 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.util | Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array). | 
| 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. | 
| org.w3c.dom.bootstrap | |
| org.xml.sax.helpers | This package contains "helper" classes, including
support for bootstrapping SAX-based applications. | 
| Modifier and Type | Method and Description | 
|---|---|
| T | Class. newInstance()Creates a new instance of the class represented by this  Classobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodHandle | MethodHandles.Lookup. bind(Object receiver,
    String name,
    MethodType type)Produces an early-bound method handle for a non-static method. | 
| MethodHandle | MethodHandles.Lookup. findConstructor(Class<?> refc,
               MethodType type)Produces a method handle which creates an object and initializes it, using
 the constructor of the specified type. | 
| MethodHandle | MethodHandles.Lookup. findGetter(Class<?> refc,
          String name,
          Class<?> type)Produces a method handle giving read access to a non-static field. | 
| MethodHandle | MethodHandles.Lookup. findSetter(Class<?> refc,
          String name,
          Class<?> type)Produces a method handle giving write access to a non-static field. | 
| MethodHandle | MethodHandles.Lookup. findSpecial(Class<?> refc,
           String name,
           MethodType type,
           Class<?> specialCaller)Produces an early-bound method handle for a virtual method. | 
| MethodHandle | MethodHandles.Lookup. findStatic(Class<?> refc,
          String name,
          MethodType type)Produces a method handle for a static method. | 
| MethodHandle | MethodHandles.Lookup. findStaticGetter(Class<?> refc,
                String name,
                Class<?> type)Produces a method handle giving read access to a static field. | 
| MethodHandle | MethodHandles.Lookup. findStaticSetter(Class<?> refc,
                String name,
                Class<?> type)Produces a method handle giving write access to a static field. | 
| MethodHandle | MethodHandles.Lookup. findVirtual(Class<?> refc,
           String name,
           MethodType type)Produces a method handle for a virtual method. | 
| MethodHandle | MethodHandles.Lookup. unreflect(Method m)Makes a direct method handle
 to m, if the lookup class has permission. | 
| MethodHandle | MethodHandles.Lookup. unreflectConstructor(Constructor<?> c)Produces a method handle for a reflected constructor. | 
| MethodHandle | MethodHandles.Lookup. unreflectGetter(Field f)Produces a method handle giving read access to a reflected field. | 
| MethodHandle | MethodHandles.Lookup. unreflectSetter(Field f)Produces a method handle giving write access to a reflected field. | 
| MethodHandle | MethodHandles.Lookup. unreflectSpecial(Method m,
                Class<?> specialCaller)Produces a method handle for a reflected method. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | Field. get(Object obj)Returns the value of the field represented by this  Field, on
 the specified object. | 
| boolean | Field. getBoolean(Object obj)Gets the value of a static or instance  booleanfield. | 
| byte | Field. getByte(Object obj)Gets the value of a static or instance  bytefield. | 
| char | Field. getChar(Object obj)Gets the value of a static or instance field of type
  charor of another primitive type convertible to
 typecharvia a widening conversion. | 
| double | Field. getDouble(Object obj)Gets the value of a static or instance field of type
  doubleor of another primitive type convertible to
 typedoublevia a widening conversion. | 
| float | Field. getFloat(Object obj)Gets the value of a static or instance field of type
  floator of another primitive type convertible to
 typefloatvia a widening conversion. | 
| int | Field. getInt(Object obj)Gets the value of a static or instance field of type
  intor of another primitive type convertible to
 typeintvia a widening conversion. | 
| long | Field. getLong(Object obj)Gets the value of a static or instance field of type
  longor of another primitive type convertible to
 typelongvia a widening conversion. | 
| short | Field. getShort(Object obj)Gets the value of a static or instance field of type
  shortor of another primitive type convertible to
 typeshortvia a widening conversion. | 
| Object | Method. invoke(Object obj,
      Object... args)Invokes the underlying method represented by this  Methodobject, on the specified object with the specified parameters. | 
| T | Constructor. newInstance(Object... initargs)Uses the constructor represented by this  Constructorobject to
 create and initialize a new instance of the constructor's
 declaring class, with the specified initialization parameters. | 
| void | Field. set(Object obj,
   Object value)Sets the field represented by this  Fieldobject on the
 specified object argument to the specified new value. | 
| void | Field. setBoolean(Object obj,
          boolean z)Sets the value of a field as a  booleanon the specified object. | 
| void | Field. setByte(Object obj,
       byte b)Sets the value of a field as a  byteon the specified object. | 
| void | Field. setChar(Object obj,
       char c)Sets the value of a field as a  charon the specified object. | 
| void | Field. setDouble(Object obj,
         double d)Sets the value of a field as a  doubleon the specified object. | 
| void | Field. setFloat(Object obj,
        float f)Sets the value of a field as a  floaton the specified object. | 
| void | Field. setInt(Object obj,
      int i)Sets the value of a field as an  inton the specified object. | 
| void | Field. setLong(Object obj,
       long l)Sets the value of a field as a  longon the specified object. | 
| void | Field. setShort(Object obj,
        short s)Sets the value of a field as a  shorton the specified object. | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceBundle | ResourceBundle.Control. newBundle(String baseName,
         Locale locale,
         String format,
         ClassLoader loader,
         boolean reload)Instantiates a resource bundle for the given bundle name of the
 given format and locale, using the given class loader if
 necessary. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | UIManager. setLookAndFeel(String className)Loads the  LookAndFeelspecified by the given class
 name, using the current thread's context class loader, and
 passes it tosetLookAndFeel(LookAndFeel). | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | Invoker. inject(WebServiceContext webServiceContext)JAX-WS runtimes calls this method to ask container to inject
 WebServiceContext on the endpoint instance. | 
| abstract Object | Invoker. invoke(Method m,
      Object... args)JAX-WS runtime calls this method to do the actual web service
 invocation on endpoint instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| static DOMImplementationRegistry | DOMImplementationRegistry. newInstance()Obtain a new instance of a  DOMImplementationRegistry. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Parser | ParserFactory. makeParser()Deprecated.  Create a new SAX parser using the `org.xml.sax.parser' system property. | 
| static Parser | ParserFactory. makeParser(String className)Deprecated.  Create a new SAX parser object using the class name provided. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.