Java Platform Module System
Final Release Specification
A B C D E F G H I J K L M N O P R S T U V W Z 

A

AbstractElementVisitor6<R,P> - Class in javax.lang.model.util
REVISED A skeletal visitor of program elements with default behavior appropriate for the RELEASE_6 source version.
AbstractElementVisitor9<R,P> - Class in javax.lang.model.util
NEW A skeletal visitor of program elements with default behavior appropriate for the RELEASE_9 source version.
AbstractResourceBundleProvider - Class in java.util.spi
NEW AbstractResourceBundleProvider is an abstract class that provides the basic support for a provider implementation class for ResourceBundleProvider.
AccessibleObject - Class in java.lang.reflect
REVISED The AccessibleObject class is the base class for Field, Method, and Constructor objects (known as reflected objects).
ANNOTATION_PROCESSOR_MODULE_PATH - javax.tools.StandardLocation
NEW Location to search for modules containing annotation processors.
ANNOTATION_PROCESSOR_PATH - javax.tools.StandardLocation
Location to search for annotation processors.
ANNOTATION_TYPE - javax.lang.model.element.ElementKind
An annotation type.
ARRAY - javax.lang.model.type.TypeKind
An array type.
AUTOMATIC - java.lang.module.ModuleDescriptor.Modifier
An automatic module.
AbstractElementVisitor6() - Constructor for class javax.lang.model.util.AbstractElementVisitor6
Deprecated.
Release 6 is obsolete; update to a visitor for a newer release level.
AbstractElementVisitor9() - Constructor for class javax.lang.model.util.AbstractElementVisitor9
Constructor for concrete subclasses to call.
AbstractResourceBundleProvider() - Constructor for class java.util.spi.AbstractResourceBundleProvider
Constructs an AbstractResourceBundleProvider with the "java.properties" format.
AbstractResourceBundleProvider(String...) - Constructor for class java.util.spi.AbstractResourceBundleProvider
Constructs an AbstractResourceBundleProvider with the specified formats.
AccessibleObject() - Constructor for class java.lang.reflect.AccessibleObject
Constructor: only used by the Java Virtual Machine.
accept(ElementVisitor<R, P>, P) - Method in interface javax.lang.model.element.Element
Applies a visitor to this element.
accept(ModuleElement.DirectiveVisitor<R, P>, P) - Method in interface javax.lang.model.element.ModuleElement.Directive
Applies a visitor to this directive.
accessClass(Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Determines if a class can be accessed from the lookup context defined by this Lookup object.
addExports(Module, String, Module) - Method in class java.lang.ModuleLayer.Controller
Updates module source in the layer to export a package to module target.
addExports(String, Module) - Method in class java.lang.Module
If the caller's module is this module then update this module to export the given package to the given module.
addOpens(Module, String, Module) - Method in class java.lang.ModuleLayer.Controller
Updates module source in the layer to open a package to module target.
addOpens(String, Module) - Method in class java.lang.Module
If this module has opened a package to at least the caller module then update this module to open the package to the given module.
addReads(Module) - Method in class java.lang.Module
If the caller's module is this module then update this module to read the given module.
addReads(Module, Module) - Method in class java.lang.ModuleLayer.Controller
Updates module source in the layer to read module target.
addTransformer(ClassFileTransformer) - Method in interface java.lang.instrument.Instrumentation
Registers the supplied transformer.
addTransformer(ClassFileTransformer, boolean) - Method in interface java.lang.instrument.Instrumentation
Registers the supplied transformer.
addURL(URL) - Method in class java.net.URLClassLoader
Appends the specified URL to the list of URLs to search for classes and resources.
addUses(Class<?>) - Method in class java.lang.Module
If the caller's module is this module then update this module to add a service dependence on the given service type.
appendToBootstrapClassLoaderSearch(JarFile) - Method in interface java.lang.instrument.Instrumentation
Specifies a JAR file with instrumentation classes to be defined by the bootstrap class loader.
appendToSystemClassLoaderSearch(JarFile) - Method in interface java.lang.instrument.Instrumentation
Specifies a JAR file with instrumentation classes to be defined by the system class loader.
arrayConstructor(Class<?>) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle constructing arrays of a desired type.
arrayElementGetter(Class<?>) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle giving read access to elements of an array.
arrayElementSetter(Class<?>) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle giving write access to elements of an array.
arrayElementVarHandle(Class<?>) - Static method in class java.lang.invoke.MethodHandles
Produces a VarHandle giving access to elements of an array of type arrayClass.
arrayLength(Class<?>) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle returning the length of an array.
asSubclass(Class<U>) - Method in class java.lang.Class
Casts this Class object to represent a subclass of the class represented by the specified class object.
asType() - Method in interface javax.lang.model.element.Element
Returns the type defined by this element.

B

BOOLEAN - javax.lang.model.type.TypeKind
The primitive type boolean.
BYTE - javax.lang.model.type.TypeKind
The primitive type byte.
bind(Object, String, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces an early-bound method handle for a non-static method.
boot() - Static method in class java.lang.ModuleLayer
Returns the boot layer.
build() - Method in class java.lang.module.ModuleDescriptor.Builder
Builds and returns a ModuleDescriptor from its components.
byteArrayViewVarHandle(Class<?>, ByteOrder) - Static method in class java.lang.invoke.MethodHandles
Produces a VarHandle giving access to elements of a byte[] array viewed as if it were a different primitive array type, such as int[] or long[].
byteBufferViewVarHandle(Class<?>, ByteOrder) - Static method in class java.lang.invoke.MethodHandles
Produces a VarHandle giving access to elements of a ByteBuffer viewed as if it were an array of elements of a different primitive component type to that of byte, such as int[] or long[].

C

Class<T> - Class in java.lang
REVISED Instances of the class Class represent classes and interfaces in a running Java application.
ClassLoader - Class in java.lang
REVISED A class loader is an object that is responsible for loading classes.
Configuration - Class in java.lang.module
NEW A configuration that is the result of resolution or resolution with service binding.
CHAR - javax.lang.model.type.TypeKind
The primitive type char.
CLASS - javax.lang.model.element.ElementKind
A class not described by a more specific kind (like ENUM).
CLASS_OUTPUT - javax.tools.StandardLocation
Location of new class files.
CLASS_PATH - javax.tools.StandardLocation
Location to search for user class files.
CONSTRUCTOR - javax.lang.model.element.ElementKind
A constructor.
ClassFileTransformer - Interface in java.lang.instrument
REVISED A transformer of class files.
ClassLoader() - Constructor for class java.lang.ClassLoader
Creates a new class loader using the ClassLoader returned by the method getSystemClassLoader() as the parent class loader.
ClassLoader(ClassLoader) - Constructor for class java.lang.ClassLoader
Creates a new class loader using the specified parent class loader for delegation.
ClassLoader(String, ClassLoader) - Constructor for class java.lang.ClassLoader
NEW Creates a new class loader of the specified name and using the specified parent class loader for delegation.
Control() - Constructor for class java.util.ResourceBundle.Control
Sole constructor.
canAccess(Object) - Method in class java.lang.reflect.AccessibleObject
NEW Test if the caller can access this reflected object.
canRead(Module) - Method in class java.lang.Module
Indicates if this module reads the given module.
canUse(Class<?>) - Method in class java.lang.Module
Indicates if this module has a service dependence on the given service type.
cast(Object) - Method in class java.lang.Class
Casts an object to the class or interface represented by this Class object.
catchException(MethodHandle, Class<? extends Throwable>, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Makes a method handle which adapts a target method handle, by running it inside an exception handler.
clearAssertionStatus() - Method in class java.lang.ClassLoader
Sets the default assertion status for this class loader to false and discards any package defaults or class assertion status settings associated with the class loader.
clearCache() - Static method in class java.util.ResourceBundle
REVISED Removes all resource bundles from the cache that have been loaded by the caller's module.
clearCache(ClassLoader) - Static method in class java.util.ResourceBundle
Removes all resource bundles from the cache that have been loaded by the given class loader.
close() - Method in interface java.lang.module.ModuleReader
Closes the module reader.
close() - Method in class java.net.URLClassLoader
Closes this URLClassLoader, so that it can no longer be used to load new classes or resources that are defined by this loader.
close() - Method in class javax.tools.ForwardingJavaFileManager
 
close() - Method in interface javax.tools.JavaFileManager
Releases any resources opened by this file manager directly or indirectly.
collectArguments(MethodHandle, int, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Adapts a target method handle by pre-processing a sub-sequence of its arguments with a filter (another method handle).
compareTo(ModuleDescriptor) - Method in class java.lang.module.ModuleDescriptor
Compares this module descriptor to another.
compareTo(ModuleDescriptor.Exports) - Method in class java.lang.module.ModuleDescriptor.Exports
Compares this module export to another.
compareTo(ModuleDescriptor.Opens) - Method in class java.lang.module.ModuleDescriptor.Opens
Compares this module opens to another.
compareTo(ModuleDescriptor.Provides) - Method in class java.lang.module.ModuleDescriptor.Provides
Compares this provides to another.
compareTo(ModuleDescriptor.Requires) - Method in class java.lang.module.ModuleDescriptor.Requires
Compares this module dependence to another.
compareTo(ModuleDescriptor.Version) - Method in class java.lang.module.ModuleDescriptor.Version
Compares this module version to another module version.
compiledVersion() - Method in class java.lang.module.ModuleDescriptor.Requires
Returns the version of the module if recorded at compile-time.
compose(ModuleFinder...) - Static method in interface java.lang.module.ModuleFinder
Returns a module finder that is composed from a sequence of zero or more module finders.
configuration() - Method in class java.lang.module.ResolvedModule
Returns the configuration that this resolved module is in.
configuration() - Method in class java.lang.ModuleLayer
Returns the configuration for this layer.
constant(Class<?>, Object) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle of the requested return type which returns the given constant value every time it is invoked.
constructorsIn(Iterable<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a list of constructors in elements.
constructorsIn(Set<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a set of constructors in elements.
contains(JavaFileManager.Location, FileObject) - Method in class javax.tools.ForwardingJavaFileManager
 
contains(JavaFileManager.Location, FileObject) - Method in interface javax.tools.JavaFileManager
Determines whether or not a given file object is "contained in" a specified location.
containsKey(String) - Method in class java.util.ResourceBundle
Determines whether the given key is contained in this ResourceBundle or its parent bundles.
countedLoop(MethodHandle, MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Constructs a loop that runs a given number of iterations.
countedLoop(MethodHandle, MethodHandle, MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Constructs a loop that counts over a range of numbers.

D

DECLARED - javax.lang.model.type.TypeKind
A class or interface type.
DOUBLE - javax.lang.model.type.TypeKind
The primitive type double.
defineClass(byte[]) - Method in class java.lang.invoke.MethodHandles.Lookup
NEW Defines a class to the same class loader and in the same runtime package and protection domain as this lookup's lookup class.
defineClass(byte[], int, int) - Method in class java.lang.ClassLoader
Deprecated.
defineClass(String, byte[], int, int) - Method in class java.lang.ClassLoader
REVISED Converts an array of bytes into an instance of class Class.
defineClass(String, byte[], int, int, CodeSource) - Method in class java.security.SecureClassLoader
Converts an array of bytes into an instance of class Class, with an optional CodeSource.
defineClass(String, byte[], int, int, ProtectionDomain) - Method in class java.lang.ClassLoader
REVISED Converts an array of bytes into an instance of class Class, with a given ProtectionDomain.
defineClass(String, ByteBuffer, CodeSource) - Method in class java.security.SecureClassLoader
Converts a ByteBuffer into an instance of class Class, with an optional CodeSource.
defineClass(String, ByteBuffer, ProtectionDomain) - Method in class java.lang.ClassLoader
REVISED Converts a ByteBuffer into an instance of class Class, with the given ProtectionDomain.
defineModules(Configuration, Function<String, ClassLoader>) - Method in class java.lang.ModuleLayer
Creates a new module layer, with this layer as its parent, by defining the modules in the given Configuration to the Java virtual machine.
defineModules(Configuration, List<ModuleLayer>, Function<String, ClassLoader>) - Static method in class java.lang.ModuleLayer
Creates a new module layer by defining the modules in the given Configuration to the Java virtual machine.
defineModulesWithManyLoaders(Configuration, ClassLoader) - Method in class java.lang.ModuleLayer
Creates a new module layer, with this layer as its parent, by defining the modules in the given Configuration to the Java virtual machine.
defineModulesWithManyLoaders(Configuration, List<ModuleLayer>, ClassLoader) - Static method in class java.lang.ModuleLayer
Creates a new module layer by defining the modules in the given Configuration to the Java virtual machine.
defineModulesWithOneLoader(Configuration, ClassLoader) - Method in class java.lang.ModuleLayer
Creates a new module layer, with this layer as its parent, by defining the modules in the given Configuration to the Java virtual machine.
defineModulesWithOneLoader(Configuration, List<ModuleLayer>, ClassLoader) - Static method in class java.lang.ModuleLayer
Creates a new module layer by defining the modules in the given Configuration to the Java virtual machine.
definePackage(String, String, String, String, String, String, String, URL) - Method in class java.lang.ClassLoader
REVISED Defines a package by name in this ClassLoader.
definePackage(String, Manifest, URL) - Method in class java.net.URLClassLoader
REVISED Defines a new package by name in this URLClassLoader.
descriptor() - Method in class java.lang.module.ModuleReference
Returns the module descriptor.
desiredAssertionStatus() - Method in class java.lang.Class
Returns the assertion status that would be assigned to this class if it were to be initialized at the time this method is invoked.
doWhileLoop(MethodHandle, MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Constructs a do-while loop from an initializer, a body, and a predicate.
dropArguments(MethodHandle, int, Class<?>...) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle which will discard some dummy arguments before calling some other specified target method handle.
dropArguments(MethodHandle, int, List<Class<?>>) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle which will discard some dummy arguments before calling some other specified target method handle.
dropArgumentsToMatch(MethodHandle, int, List<Class<?>>, int) - Static method in class java.lang.invoke.MethodHandles
Adapts a target method handle to match the given parameter type list.
dropLookupMode(int) - Method in class java.lang.invoke.MethodHandles.Lookup
Creates a lookup on the same lookup class which this lookup object finds members, but with a lookup mode that has lost the given lookup mode.

E

ElementFilter - Class in javax.lang.model.util
REVISED Filters for selecting just the elements of interest from a collection of elements.
ElementKindVisitor9<R,P> - Class in javax.lang.model.util
NEW A visitor of program elements based on their kind with default behavior appropriate for the RELEASE_9 source version.
ElementScanner9<R,P> - Class in javax.lang.model.util
NEW A scanning visitor of program elements with default behavior appropriate for the RELEASE_9 source version.
ElementKind - Enum in javax.lang.model.element
REVISED The kind of an element.
ENUM - javax.lang.model.element.ElementKind
An enum type.
ENUM_CONSTANT - javax.lang.model.element.ElementKind
An enum constant.
ERROR - javax.lang.model.type.TypeKind
A class or interface type that could not be resolved.
EXCEPTION_PARAMETER - javax.lang.model.element.ElementKind
A parameter of an exception handler.
EXECUTABLE - javax.lang.model.type.TypeKind
A method, constructor, or initializer.
EXPORTS - javax.lang.model.element.ModuleElement.DirectiveKind
An "exports package-name [to module-name-list]" directive.
Element - Interface in javax.lang.model.element
REVISED Represents a program element such as a module, package, class, or method.
Elements - Interface in javax.lang.model.util
REVISED Utility methods for operating on program elements.
ElementVisitor<R,P> - Interface in javax.lang.model.element
REVISED A visitor of program elements, in the style of the visitor design pattern.
ElementKindVisitor9() - Constructor for class javax.lang.model.util.ElementKindVisitor9
Constructor for concrete subclasses; uses null for the default value.
ElementKindVisitor9(R) - Constructor for class javax.lang.model.util.ElementKindVisitor9
Constructor for concrete subclasses; uses the argument for the default value.
ElementScanner9() - Constructor for class javax.lang.model.util.ElementScanner9
Constructor for concrete subclasses; uses null for the default value.
ElementScanner9(R) - Constructor for class javax.lang.model.util.ElementScanner9
Constructor for concrete subclasses; uses the argument for the default value.
empty() - Static method in class java.lang.module.Configuration
Returns the empty configuration.
empty() - Static method in class java.lang.ModuleLayer
Returns the empty layer.
empty(MethodType) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle of the requested type which ignores any arguments, does nothing, and returns a suitable default depending on the return type.
equals(Object) - Method in class java.lang.module.ModuleDescriptor
Tests this module descriptor for equality with the given object.
equals(Object) - Method in class java.lang.module.ModuleDescriptor.Exports
Tests this module export for equality with the given object.
equals(Object) - Method in class java.lang.module.ModuleDescriptor.Opens
Tests this module opens for equality with the given object.
equals(Object) - Method in class java.lang.module.ModuleDescriptor.Provides
Tests this provides for equality with the given object.
equals(Object) - Method in class java.lang.module.ModuleDescriptor.Requires
Tests this module dependence for equality with the given object.
equals(Object) - Method in class java.lang.module.ModuleDescriptor.Version
Tests this module version for equality with the given object.
equals(Object) - Method in class java.lang.module.ResolvedModule
Tests this resolved module for equality with the given object.
equals(Object) - Method in class java.lang.StackTraceElement
REVISED Returns true if the specified object is another StackTraceElement instance representing the same execution point as this instance.
equals(Object) - Method in interface javax.lang.model.element.Element
Returns true if the argument represents the same element as this, or false otherwise.
exactInvoker(MethodType) - Static method in class java.lang.invoke.MethodHandles
Produces a special invoker method handle which can be used to invoke any method handle of the given type, as if by invokeExact.
explicitCastArguments(MethodHandle, MethodType) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle which adapts the type of the given method handle to a new type by pairwise argument and return type conversion.
exports() - Method in class java.lang.module.ModuleDescriptor
Returns the set of Exports objects representing the exported packages.
exports(ModuleDescriptor.Exports) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an exported package.
exports(String) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an exported package.
exports(String, Set<String>) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an exported package.
exports(Set<ModuleDescriptor.Exports.Modifier>, String) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an exported package with the given (and possibly empty) set of modifiers.
exports(Set<ModuleDescriptor.Exports.Modifier>, String, Set<String>) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an exported package with the given (and possibly empty) set of modifiers.
exportsIn(Iterable<? extends ModuleElement.Directive>) - Static method in class javax.lang.model.util.ElementFilter
NEW Returns a list of exports directives in directives.

F

FindException - Exception in java.lang.module
NEW Thrown by a ModuleFinder when an error occurs finding a module.
ForwardingJavaFileManager<M extends JavaFileManager> - Class in javax.tools
REVISED Forwards calls to a given file manager.
FIELD - javax.lang.model.element.ElementKind
A field not described by a more specific kind (like ENUM_CONSTANT).
FLOAT - javax.lang.model.type.TypeKind
The primitive type float.
fileManager - Variable in class javax.tools.ForwardingJavaFileManager
The file manager which all methods are delegated to.
FORMAT_CLASS - Static variable in class java.util.ResourceBundle.Control
The class-only format List containing "java.class".
FORMAT_DEFAULT - Static variable in class java.util.ResourceBundle.Control
The default format List, which contains the strings "java.class" and "java.properties", in this order.
FORMAT_PROPERTIES - Static variable in class java.util.ResourceBundle.Control
The properties-only format List containing "java.properties".
FindException() - Constructor for exception java.lang.module.FindException
Constructs a FindException with no detail message.
FindException(String) - Constructor for exception java.lang.module.FindException
Constructs a FindException with the given detail message.
FindException(String, Throwable) - Constructor for exception java.lang.module.FindException
Constructs a FindException with the given detail message and cause.
FindException(Throwable) - Constructor for exception java.lang.module.FindException
Constructs a FindException with the given cause.
ForwardingJavaFileManager(M) - Constructor for class javax.tools.ForwardingJavaFileManager
Creates a new instance of ForwardingJavaFileManager.
fieldsIn(Iterable<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a list of fields in elements.
fieldsIn(Set<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a set of fields in elements.
filterArguments(MethodHandle, int, MethodHandle...) - Static method in class java.lang.invoke.MethodHandles
Adapts a target method handle by pre-processing one or more of its arguments, each with its own unary filter function, and then calling the target with each pre-processed argument replaced by the result of its corresponding filter function.
filterReturnValue(MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Adapts a target method handle by post-processing its return value (if any) with a filter (another method handle).
find(String) - Method in interface java.lang.module.ModuleFinder
Finds a reference to a module of a given name.
find(String) - Method in interface java.lang.module.ModuleReader
Finds a resource, returning a URI to the resource in the module.
findAll() - Method in interface java.lang.module.ModuleFinder
Returns the set of all module references that this finder can locate.
findClass(String) - Method in class java.lang.ClassLoader
Finds the class with the specified binary name.
findClass(String) - Method in class java.lang.invoke.MethodHandles.Lookup
Looks up a class by name from the lookup context defined by this Lookup object.
findClass(String) - Method in class java.net.URLClassLoader
Finds and loads the class with the specified name from the URL search path.
findClass(String, String) - Method in class java.lang.ClassLoader
NEW Finds the class with the given binary name in a module defined to this class loader.
findConstructor(Class<?>, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle which creates an object and initializes it, using the constructor of the specified type.
findFirst() - Method in class java.util.ServiceLoader
NEW Load the first available service provider of this loader's service.
findGetter(Class<?>, String, Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle giving read access to a non-static field.
findLibrary(String) - Method in class java.lang.ClassLoader
Returns the absolute path name of a native library.
findLoadedClass(String) - Method in class java.lang.ClassLoader
Returns the class with the given binary name if this loader has been recorded by the Java virtual machine as an initiating loader of a class with that binary name.
findLoader(String) - Method in class java.lang.ModuleLayer
Returns the ClassLoader for the module with the given name.
findModule(String) - Method in class java.lang.module.Configuration
Finds a resolved module in this configuration, or if not in this configuration, the parent configurations.
findModule(String) - Method in class java.lang.ModuleLayer
Returns the module with the given name in this layer, or if not in this layer, the parent layers.
findResource(String) - Method in class java.lang.ClassLoader
REVISED Finds the resource with the given name.
findResource(String) - Method in class java.net.URLClassLoader
Finds the resource with the specified name on the URL search path.
findResource(String, String) - Method in class java.lang.ClassLoader
NEW Returns a URL to a resource in a module defined to this class loader.
findResources(String) - Method in class java.lang.ClassLoader
REVISED Returns an enumeration of URL objects representing all the resources with the given name.
findResources(String) - Method in class java.net.URLClassLoader
Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
findSetter(Class<?>, String, Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle giving write access to a non-static field.
findSpecial(Class<?>, String, MethodType, Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces an early-bound method handle for a virtual method.
findStatic(Class<?>, String, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle for a static method.
findStaticGetter(Class<?>, String, Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle giving read access to a static field.
findStaticSetter(Class<?>, String, Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle giving write access to a static field.
findStaticVarHandle(Class<?>, String, Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a VarHandle giving access to a static field name of type type declared in a class of type decl.
findSystemClass(String) - Method in class java.lang.ClassLoader
Finds a class with the specified binary name, loading it if necessary.
findVarHandle(Class<?>, String, Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a VarHandle giving access to a non-static field name of type type declared in a class of type recv.
findVirtual(Class<?>, String, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle for a virtual method.
flush() - Method in class javax.tools.ForwardingJavaFileManager
 
flush() - Method in interface javax.tools.JavaFileManager
Flushes any resources opened for output by this file manager directly or indirectly.
foldArguments(MethodHandle, int, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Adapts a target method handle by pre-processing some of its arguments, starting at a given position, and then calling the target with the result of the pre-processing, inserted into the original sequence of arguments just before the folded arguments.
foldArguments(MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Adapts a target method handle by pre-processing some of its arguments, and then calling the target with the result of the pre-processing, inserted into the original sequence of arguments.
forName(Module, String) - Static method in class java.lang.Class
NEW Returns the Class with the given binary name in the given module.
forName(String) - Static method in class java.lang.Class
Returns the Class object associated with the class or interface with the given string name.
forName(String, boolean, ClassLoader) - Static method in class java.lang.Class
Returns the Class object associated with the class or interface with the given string name, using the given class loader.

G

get() - Method in interface java.util.ServiceLoader.Provider
Returns an instance of the provider.
getAllAnnotationMirrors(Element) - Method in interface javax.lang.model.util.Elements
Returns all annotations present on an element, whether directly present or present via inheritance.
getAllLoadedClasses() - Method in interface java.lang.instrument.Instrumentation
Returns an array of all classes currently loaded by the JVM.
getAllMembers(TypeElement) - Method in interface javax.lang.model.util.Elements
Returns all members of a type element, whether inherited or declared directly.
getAllModuleElements() - Method in interface javax.lang.model.util.Elements
Returns all module elements in the current environment.
getAllPackageElements(CharSequence) - Method in interface javax.lang.model.util.Elements
Returns all package elements with the given canonical name.
getAllTypeElements(CharSequence) - Method in interface javax.lang.model.util.Elements
Returns all type elements with the given canonical name.
getAnnotatedInterfaces() - Method in class java.lang.Class
Returns an array of AnnotatedType objects that represent the use of types to specify superinterfaces of the entity represented by this Class object.
getAnnotatedSuperclass() - Method in class java.lang.Class
Returns an AnnotatedType object that represents the use of a type to specify the superclass of the entity represented by this Class object.
getAnnotation(Class<A>) - Method in class java.lang.Class
 
getAnnotation(Class<A>) - Method in class java.lang.Package
 
getAnnotation(Class<A>) - Method in interface javax.lang.model.element.Element
Returns this construct's annotation of the specified type if such an annotation is present, else null.
getAnnotation(Class<T>) - Method in class java.lang.Module
Returns this element's annotation for the specified type if such an annotation is present, else null.
getAnnotation(Class<T>) - Method in class java.lang.reflect.AccessibleObject
 
getAnnotationMirrors() - Method in interface javax.lang.model.element.Element
Returns the annotations that are directly present on this construct.
getAnnotations() - Method in class java.lang.Class
 
getAnnotations() - Method in class java.lang.Module
Returns annotations that are present on this element.
getAnnotations() - Method in class java.lang.Package
 
getAnnotations() - Method in class java.lang.reflect.AccessibleObject
 
getAnnotationsByType(Class<A>) - Method in class java.lang.Class
 
getAnnotationsByType(Class<A>) - Method in class java.lang.Package
 
getAnnotationsByType(Class<T>) - Method in class java.lang.reflect.AccessibleObject
 
getArgument() - Method in exception javax.lang.model.element.UnknownDirectiveException
Returns the additional argument.
getBaseBundleName() - Method in class java.util.ResourceBundle
Returns the base name of this bundle, if known, or null if unknown.
getBinaryName(TypeElement) - Method in interface javax.lang.model.util.Elements
Returns the binary name of a type element.
getBundle(String) - Static method in class java.util.ResourceBundle
Gets a resource bundle using the specified base name, the default locale, and the caller's class loader.
getBundle(String, Module) - Static method in class java.util.ResourceBundle
NEW Gets a resource bundle using the specified base name and the default locale on behalf of the specified module.
getBundle(String, Locale) - Static method in class java.util.ResourceBundle
Gets a resource bundle using the specified base name and locale, and the caller's class loader.
getBundle(String, Locale) - Method in class java.util.spi.AbstractResourceBundleProvider
Returns a ResourceBundle for the given baseName and locale.
getBundle(String, Locale) - Method in interface java.util.spi.ResourceBundleProvider
Returns a ResourceBundle for the given bundle name and locale.
getBundle(String, Locale, ClassLoader) - Static method in class java.util.ResourceBundle
REVISED Gets a resource bundle using the specified base name, locale, and class loader.
getBundle(String, Locale, ClassLoader, ResourceBundle.Control) - Static method in class java.util.ResourceBundle
REVISED Returns a resource bundle using the specified base name, target locale, class loader and control.
getBundle(String, Locale, Module) - Static method in class java.util.ResourceBundle
NEW Gets a resource bundle using the specified base name and locale on behalf of the specified module.
getBundle(String, Locale, ResourceBundle.Control) - Static method in class java.util.ResourceBundle
REVISED Returns a resource bundle using the specified base name, target locale and control, and the caller's class loader.
getBundle(String, ResourceBundle.Control) - Static method in class java.util.ResourceBundle
REVISED Returns a resource bundle using the specified base name, the default locale and the specified control.
getCandidateLocales(String, Locale) - Method in class java.util.ResourceBundle.Control
Returns a List of Locales as candidate locales for baseName and locale.
getCanonicalName() - Method in class java.lang.Class
Returns the canonical name of the underlying class as defined by the Java Language Specification.
getClasses() - Method in class java.lang.Class
Returns an array containing Class objects representing all the public classes and interfaces that are members of the class represented by this Class object.
getClassLoader() - Method in class java.lang.Class
Returns the class loader for the class.
getClassLoader() - Method in class java.lang.Module
Returns the ClassLoader for this module.
getClassLoader(JavaFileManager.Location) - Method in class javax.tools.ForwardingJavaFileManager
 
getClassLoader(JavaFileManager.Location) - Method in interface javax.tools.JavaFileManager
Returns a class loader for loading plug-ins from the given package-oriented location.
getClassLoaderName() - Method in class java.lang.StackTraceElement
NEW Returns the name of the class loader of the class containing the execution point represented by this stack trace element.
getClassLoadingLock(String) - Method in class java.lang.ClassLoader
Returns the lock object for class loading operations.
getClassName() - Method in class java.lang.StackTraceElement
Returns the fully qualified name of the class containing the execution point represented by this stack trace element.
getComponentType() - Method in class java.lang.Class
Returns the Class representing the component type of an array.
getConstantExpression(Object) - Method in interface javax.lang.model.util.Elements
Returns the text of a constant expression representing a primitive value or a string.
getConstructor(Class<?>...) - Method in class java.lang.Class
Returns a Constructor object that reflects the specified public constructor of the class represented by this Class object.
getConstructors() - Method in class java.lang.Class
Returns an array containing Constructor objects reflecting all the public constructors of the class represented by this Class object.
getControl(String) - Method in interface java.util.spi.ResourceBundleControlProvider
Returns a ResourceBundle.Control instance that is used to handle resource bundle loading for the given baseName.
getControl(List<String>) - Static method in class java.util.ResourceBundle.Control
Returns a ResourceBundle.Control in which the getFormats method returns the specified formats.
getDeclaredAnnotation(Class<A>) - Method in class java.lang.Class
 
getDeclaredAnnotation(Class<A>) - Method in class java.lang.Package
 
getDeclaredAnnotation(Class<T>) - Method in class java.lang.reflect.AccessibleObject
 
getDeclaredAnnotations() - Method in class java.lang.Class
 
getDeclaredAnnotations() - Method in class java.lang.Module
Returns annotations that are directly present on this element.
getDeclaredAnnotations() - Method in class java.lang.Package
 
getDeclaredAnnotations() - Method in class java.lang.reflect.AccessibleObject
 
getDeclaredAnnotationsByType(Class<A>) - Method in class java.lang.Class
 
getDeclaredAnnotationsByType(Class<A>) - Method in class java.lang.Package
 
getDeclaredAnnotationsByType(Class<T>) - Method in class java.lang.reflect.AccessibleObject
 
getDeclaredClasses() - Method in class java.lang.Class
Returns an array of Class objects reflecting all the classes and interfaces declared as members of the class represented by this Class object.
getDeclaredConstructor(Class<?>...) - Method in class java.lang.Class
Returns a Constructor object that reflects the specified constructor of the class or interface represented by this Class object.
getDeclaredConstructors() - Method in class java.lang.Class
Returns an array of Constructor objects reflecting all the constructors declared by the class represented by this Class object.
getDeclaredField(String) - Method in class java.lang.Class
Returns a Field object that reflects the specified declared field of the class or interface represented by this Class object.
getDeclaredFields() - Method in class java.lang.Class
Returns an array of Field objects reflecting all the fields declared by the class or interface represented by this Class object.
getDeclaredMethod(String, Class<?>...) - Method in class java.lang.Class
Returns a Method object that reflects the specified declared method of the class or interface represented by this Class object.
getDeclaredMethods() - Method in class java.lang.Class
Returns an array containing Method objects reflecting all the declared methods of the class or interface represented by this Class object, including public, protected, default (package) access, and private methods, but excluding inherited methods.
getDeclaringClass() - Method in class java.lang.Class
If the class or interface represented by this Class object is a member of another class, returns the Class object representing the class in which it was declared.
getDefinedPackage(String) - Method in class java.lang.ClassLoader
NEW Returns a Package of the given name that has been defined by this class loader.
getDefinedPackages() - Method in class java.lang.ClassLoader
NEW Returns all of the Packages defined by this class loader.
getDependency() - Method in interface javax.lang.model.element.ModuleElement.RequiresDirective
Returns the module that is required
getDescriptor() - Method in class java.lang.Module
Returns the module descriptor for this module or null if this module is an unnamed module.
getDirectives() - Method in interface javax.lang.model.element.ModuleElement
Returns the directives contained in the declaration of this module.
getDocComment(Element) - Method in interface javax.lang.model.util.Elements
Returns the text of the documentation ("Javadoc") comment of an element.
getElementValuesWithDefaults(AnnotationMirror) - Method in interface javax.lang.model.util.Elements
Returns the values of an annotation's elements, including defaults.
getEnclosedElements() - Method in interface javax.lang.model.element.Element
REVISED Returns the elements that are, loosely speaking, directly enclosed by this element.
getEnclosedElements() - Method in interface javax.lang.model.element.ModuleElement
Returns the packages within this module.
getEnclosedElements() - Method in interface javax.lang.model.element.PackageElement
Returns the top-level classes and interfaces within this package.
getEnclosingClass() - Method in class java.lang.Class
Returns the immediately enclosing class of the underlying class.
getEnclosingConstructor() - Method in class java.lang.Class
If this Class object represents a local or anonymous class within a constructor, returns a Constructor object representing the immediately enclosing constructor of the underlying class.
getEnclosingElement() - Method in interface javax.lang.model.element.Element
REVISED Returns the innermost element within which this element is, loosely speaking, enclosed.
getEnclosingElement() - Method in interface javax.lang.model.element.ModuleElement
Returns null since a module is not enclosed by another element.
getEnclosingElement() - Method in interface javax.lang.model.element.PackageElement
REVISED Returns the enclosing module if such a module exists; otherwise returns null.
getEnclosingMethod() - Method in class java.lang.Class
If this Class object represents a local or anonymous class within a method, returns a Method object representing the immediately enclosing method of the underlying class.
getEnumConstants() - Method in class java.lang.Class
Returns the elements of this enum class or null if this Class object does not represent an enum type.
getFallbackLocale(String, Locale) - Method in class java.util.ResourceBundle.Control
Returns a Locale to be used as a fallback locale for further resource bundle searches by the ResourceBundle.getBundle factory method.
getField(String) - Method in class java.lang.Class
Returns a Field object that reflects the specified public member field of the class or interface represented by this Class object.
getFields() - Method in class java.lang.Class
Returns an array containing Field objects reflecting all the accessible public fields of the class or interface represented by this Class object.
getFileForInput(JavaFileManager.Location, String, String) - Method in class javax.tools.ForwardingJavaFileManager
 
getFileForInput(JavaFileManager.Location, String, String) - Method in interface javax.tools.JavaFileManager
Returns a file object for input representing the specified relative name in the specified package in the given package-oriented location.
getFileForOutput(JavaFileManager.Location, String, String, FileObject) - Method in class javax.tools.ForwardingJavaFileManager
 
getFileForOutput(JavaFileManager.Location, String, String, FileObject) - Method in interface javax.tools.JavaFileManager
Returns a file object for output representing the specified relative name in the specified package in the given location.
getFileName() - Method in class java.lang.StackTraceElement
Returns the name of the source file containing the execution point represented by this stack trace element.
getFormats(String) - Method in class java.util.ResourceBundle.Control
Returns a List of Strings containing formats to be used to load resource bundles for the given baseName.
getGenericInterfaces() - Method in class java.lang.Class
Returns the Types representing the interfaces directly implemented by the class or interface represented by this object.
getGenericSuperclass() - Method in class java.lang.Class
Returns the Type representing the direct superclass of the entity (class, interface, primitive type or void) represented by this Class.
getImplementations() - Method in interface javax.lang.model.element.ModuleElement.ProvidesDirective
Returns the implementations of the service being provided.
getImplementationTitle() - Method in class java.lang.Package
Return the title of this package.
getImplementationVendor() - Method in class java.lang.Package
REVISED Returns the vendor that implemented this package, null is returned if it is not known.
getImplementationVersion() - Method in class java.lang.Package
Return the version of this implementation.
getInitiatedClasses(ClassLoader) - Method in interface java.lang.instrument.Instrumentation
Returns an array of all classes for which loader is an initiating loader.
getInterfaces() - Method in class java.lang.Class
Returns the interfaces directly implemented by the class or interface represented by this object.
getInvocationHandler(Object) - Static method in class java.lang.reflect.Proxy
Returns the invocation handler for the specified proxy instance.
getJavaFileForInput(JavaFileManager.Location, String, JavaFileObject.Kind) - Method in class javax.tools.ForwardingJavaFileManager
 
getJavaFileForInput(JavaFileManager.Location, String, JavaFileObject.Kind) - Method in interface javax.tools.JavaFileManager
Returns a file object for input representing the specified class of the specified kind in the given package-oriented location.
getJavaFileForOutput(JavaFileManager.Location, String, JavaFileObject.Kind, FileObject) - Method in class javax.tools.ForwardingJavaFileManager
 
getJavaFileForOutput(JavaFileManager.Location, String, JavaFileObject.Kind, FileObject) - Method in interface javax.tools.JavaFileManager
Returns a file object for output representing the specified class of the specified kind in the given package-oriented location.
getKeys() - Method in class java.util.ResourceBundle
Returns an enumeration of the keys.
getKind() - Method in interface javax.lang.model.element.Element
Returns the kind of this element.
getKind() - Method in interface javax.lang.model.element.ModuleElement.Directive
Returns the kind of this directive.
getLayer() - Method in class java.lang.Module
Returns the module layer that contains this module or null if this module is not in a module layer.
getLineNumber() - Method in class java.lang.StackTraceElement
Returns the line number of the source line containing the execution point represented by this stack trace element.
getLocale() - Method in class java.util.ResourceBundle
Returns the locale of this resource bundle.
getLocationForModule(JavaFileManager.Location, String) - Method in class javax.tools.ForwardingJavaFileManager
NEW 
 
getLocationForModule(JavaFileManager.Location, String) - Method in interface javax.tools.JavaFileManager
NEW Gets a location for a named module within a location, which may be either a module-oriented location or an output location.
getLocationForModule(JavaFileManager.Location, JavaFileObject) - Method in class javax.tools.ForwardingJavaFileManager
NEW 
 
getLocationForModule(JavaFileManager.Location, JavaFileObject) - Method in interface javax.tools.JavaFileManager
NEW Gets a location for the module containing a specific file to be found within a location, which may be either a module-oriented location or an output location.
getMethod(String, Class<?>...) - Method in class java.lang.Class
Returns a Method object that reflects the specified public member method of the class or interface represented by this Class object.
getMethodName() - Method in class java.lang.StackTraceElement
Returns the name of the method containing the execution point represented by this stack trace element.
getMethods() - Method in class java.lang.Class
Returns an array containing Method objects reflecting all the public methods of the class or interface represented by this Class object, including those declared by the class or interface and those inherited from superclasses and superinterfaces.
getModifiers() - Method in class java.lang.Class
Returns the Java language modifiers for this class or interface, encoded in an integer.
getModifiers() - Method in interface javax.lang.model.element.Element
Returns the modifiers of this element, excluding annotations.
getModule() - Method in class java.lang.Class
NEW Returns the module that this class or interface is a member of.
getModuleElement(CharSequence) - Method in interface javax.lang.model.util.Elements
NEW Returns a module element given its fully qualified name.
getModuleName() - Method in class java.lang.StackTraceElement
NEW Returns the module name of the module containing the execution point represented by this stack trace element.
getModuleOf(Element) - Method in interface javax.lang.model.util.Elements
NEW Returns the module of an element.
getModuleVersion() - Method in class java.lang.StackTraceElement
NEW Returns the module version of the module containing the execution point represented by this stack trace element.
getName() - Method in class java.lang.Class
Returns the name of the entity (class, interface, array class, primitive type, or void) represented by this Class object, as a String.
getName() - Method in class java.lang.ClassLoader
NEW Returns the name of this class loader or null if this class loader is not named.
getName() - Method in class java.lang.Module
Returns the module name or null if this module is an unnamed module.
getName() - Method in class java.lang.Package
Return the name of this package.
getName() - Method in interface javax.tools.JavaFileManager.Location
Returns the name of this location.
getName() - Method in enum javax.tools.StandardLocation
 
getName(CharSequence) - Method in interface javax.lang.model.util.Elements
Return a name with the same sequence of characters as the argument.
getNoFallbackControl(List<String>) - Static method in class java.util.ResourceBundle.Control
Returns a ResourceBundle.Control in which the getFormats method returns the specified formats and the getFallbackLocale method returns null.
getObject(String) - Method in class java.util.ResourceBundle
Gets an object for the given key from this resource bundle or one of its parents.
getObjectSize(Object) - Method in interface java.lang.instrument.Instrumentation
Returns an implementation-specific approximation of the amount of storage consumed by the specified object.
getOrigin(AnnotatedConstruct, AnnotationMirror) - Method in interface javax.lang.model.util.Elements
Returns the origin of the given annotation mirror.
getOrigin(Element) - Method in interface javax.lang.model.util.Elements
Returns the origin of the given element.
getOrigin(ModuleElement, ModuleElement.Directive) - Method in interface javax.lang.model.util.Elements
Returns the origin of the given module directive.
getPackage() - Method in class java.lang.Class
REVISED Gets the package of this class.
getPackage() - Method in interface javax.lang.model.element.ModuleElement.ExportsDirective
Returns the package being exported.
getPackage() - Method in interface javax.lang.model.element.ModuleElement.OpensDirective
Returns the package being opened.
getPackage(String) - Method in class java.lang.ClassLoader
Deprecated.
REVISED If multiple class loaders delegate to each other and define classes with the same package name, and one such loader relies on the lookup behavior of getPackage to return a Package from a parent loader, then the properties exposed by the Package may not be as expected in the rest of the program. For example, the Package will only expose annotations from the package-info.class file defined by the parent loader, even if annotations exist in a package-info.class file defined by a child loader. A more robust approach is to use the ClassLoader.getDefinedPackage(java.lang.String) method which returns a Package for the specified class loader.
getPackage(String) - Static method in class java.lang.Package
Deprecated.
REVISED If multiple class loaders delegate to each other and define classes with the same package name, and one such loader relies on the lookup behavior of getPackage to return a Package from a parent loader, then the properties exposed by the Package may not be as expected in the rest of the program. For example, the Package will only expose annotations from the package-info.class file defined by the parent loader, even if annotations exist in a package-info.class file defined by a child loader. A more robust approach is to use the ClassLoader.getDefinedPackage(java.lang.String) method which returns a Package for the specified class loader.
getPackageElement(CharSequence) - Method in interface javax.lang.model.util.Elements
Returns a package given its fully qualified name if the package is unique in the environment.
getPackageElement(ModuleElement, CharSequence) - Method in interface javax.lang.model.util.Elements
Returns a package given its fully qualified name, as seen from the given module.
getPackageName() - Method in class java.lang.Class
NEW Returns the fully qualified package name.
getPackageOf(Element) - Method in interface javax.lang.model.util.Elements
Returns the package of an element.
getPackages() - Method in class java.lang.ClassLoader
REVISED Returns all of the Packages defined by this class loader and its ancestors.
getPackages() - Method in class java.lang.Module
Returns the set of package names for the packages in this module.
getPackages() - Static method in class java.lang.Package
REVISED Returns all of the Packages defined by the caller's class loader and its ancestors.
getParent() - Method in class java.lang.ClassLoader
Returns the parent class loader for delegation.
getPermissions(CodeSource) - Method in class java.net.URLClassLoader
Returns the permissions for the given codesource object.
getPermissions(CodeSource) - Method in class java.security.SecureClassLoader
Returns the permissions for the given CodeSource object.
getPlatformClassLoader() - Static method in class java.lang.ClassLoader
NEW Returns the platform class loader for delegation.
getProtectionDomain() - Method in class java.lang.Class
Returns the ProtectionDomain of this class.
getProxyClass(ClassLoader, Class<?>...) - Static method in class java.lang.reflect.Proxy
Deprecated.
REVISED Proxy classes generated in a named module are encapsulated and not accessible to code outside its module. Constructor.newInstance will throw IllegalAccessException when it is called on an inaccessible proxy class. Use Proxy.newProxyInstance(ClassLoader, Class[], InvocationHandler) to create a proxy instance instead.
getQualifiedName() - Method in interface javax.lang.model.element.ModuleElement
Returns the fully qualified name of this module.
getQualifiedName() - Method in interface javax.lang.model.element.PackageElement
Returns the fully qualified name of this package.
getResource(String) - Method in class java.lang.Class
REVISED Finds a resource with a given name.
getResource(String) - Method in class java.lang.ClassLoader
REVISED Finds the resource with the given name.
getResourceAsStream(String) - Method in class java.lang.Class
REVISED Finds a resource with a given name.
getResourceAsStream(String) - Method in class java.lang.ClassLoader
REVISED Returns an input stream for reading the specified resource.
getResourceAsStream(String) - Method in class java.lang.Module
Returns an input stream for reading a resource in this module.
getResourceAsStream(String) - Method in class java.net.URLClassLoader
Returns an input stream for reading the specified resource.
getResources(String) - Method in class java.lang.ClassLoader
REVISED Finds all the resources with the given name.
getService() - Method in interface javax.lang.model.element.ModuleElement.ProvidesDirective
Returns the service being provided.
getService() - Method in interface javax.lang.model.element.ModuleElement.UsesDirective
Returns the service that is used.
getServiceLoader(JavaFileManager.Location, Class<S>) - Method in class javax.tools.ForwardingJavaFileManager
NEW 
 
getServiceLoader(JavaFileManager.Location, Class<S>) - Method in interface javax.tools.JavaFileManager
NEW Get a service loader for a specific service class from a given location.
getSigners() - Method in class java.lang.Class
Gets the signers of this class.
getSimpleName() - Method in class java.lang.Class
Returns the simple name of the underlying class as given in the source code.
getSimpleName() - Method in interface javax.lang.model.element.Element
REVISED Returns the simple (unqualified) name of this element.
getSimpleName() - Method in interface javax.lang.model.element.ModuleElement
Returns the simple name of this module.
getSimpleName() - Method in interface javax.lang.model.element.PackageElement
Returns the simple name of this package.
getSpecificationTitle() - Method in class java.lang.Package
Return the title of the specification that this package implements.
getSpecificationVendor() - Method in class java.lang.Package
Return the name of the organization, vendor, or company that owns and maintains the specification of the classes that implement this package.
getSpecificationVersion() - Method in class java.lang.Package
Returns the version number of the specification that this package implements.
getString(String) - Method in class java.util.ResourceBundle
Gets a string for the given key from this resource bundle or one of its parents.
getStringArray(String) - Method in class java.util.ResourceBundle
Gets a string array for the given key from this resource bundle or one of its parents.
getSuperclass() - Method in class java.lang.Class
Returns the Class representing the direct superclass of the entity (class, interface, primitive type or void) represented by this Class.
getSystemClassLoader() - Static method in class java.lang.ClassLoader
REVISED Returns the system class loader for delegation.
getSystemResource(String) - Static method in class java.lang.ClassLoader
REVISED Find a resource of the specified name from the search path used to load classes.
getSystemResourceAsStream(String) - Static method in class java.lang.ClassLoader
REVISED Open for reading, a resource of the specified name from the search path used to load classes.
getSystemResources(String) - Static method in class java.lang.ClassLoader
REVISED Finds all resources of the specified name from the search path used to load classes.
getTargetModules() - Method in interface javax.lang.model.element.ModuleElement.ExportsDirective
Returns the specific modules to which the package is being exported, or null, if the package is exported to all modules which have readability to this module.
getTargetModules() - Method in interface javax.lang.model.element.ModuleElement.OpensDirective
Returns the specific modules to which the package is being open or null, if the package is open all modules which have readability to this module.
getTimeToLive(String, Locale) - Method in class java.util.ResourceBundle.Control
Returns the time-to-live (TTL) value for resource bundles that are loaded under this ResourceBundle.Control.
getTypeElement(CharSequence) - Method in interface javax.lang.model.util.Elements
Returns a type element given its canonical name if the type element is unique in the environment.
getTypeElement(ModuleElement, CharSequence) - Method in interface javax.lang.model.util.Elements
Returns a type element given its canonical name, as seen from the given module.
getTypeName() - Method in class java.lang.Class
Return an informative string for the name of this type.
getTypeParameters() - Method in class java.lang.Class
Returns an array of TypeVariable objects that represent the type variables declared by the generic declaration represented by this GenericDeclaration object, in declaration order.
getUnknownDirective() - Method in exception javax.lang.model.element.UnknownDirectiveException
Returns the unknown directive.
getUnnamedModule() - Method in class java.lang.ClassLoader
NEW Returns the unnamed Module for this class loader.
getURLs() - Method in class java.net.URLClassLoader
Returns the search path of URLs for loading classes and resources.
guardWithTest(MethodHandle, MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Makes a method handle which adapts a target method handle, by guarding it with a test, a boolean-valued method handle.

H

h - Variable in class java.lang.reflect.Proxy
the invocation handler for this proxy instance.
handleGetObject(String) - Method in class java.util.ResourceBundle
Gets an object for the given key from this resource bundle.
handleKeySet() - Method in class java.util.ResourceBundle
Returns a Set of the keys contained only in this ResourceBundle.
handleOption(String, Iterator<String>) - Method in class javax.tools.ForwardingJavaFileManager
 
handleOption(String, Iterator<String>) - Method in interface javax.tools.JavaFileManager
Handles one option.
hashCode() - Method in class java.lang.module.ModuleDescriptor.Exports
Computes a hash code for this module export.
hashCode() - Method in class java.lang.module.ModuleDescriptor
Computes a hash code for this module descriptor.
hashCode() - Method in class java.lang.module.ModuleDescriptor.Opens
Computes a hash code for this module opens.
hashCode() - Method in class java.lang.module.ModuleDescriptor.Provides
Computes a hash code for this provides.
hashCode() - Method in class java.lang.module.ModuleDescriptor.Requires
Computes a hash code for this module dependence.
hashCode() - Method in class java.lang.module.ModuleDescriptor.Version
Computes a hash code for this module version.
hashCode() - Method in class java.lang.module.ResolvedModule
Computes a hash code for this resolved module.
hashCode() - Method in class java.lang.Package
Return the hash code computed from the package name.
hashCode() - Method in class java.lang.StackTraceElement
Returns a hash code value for this stack trace element.
hashCode() - Method in interface javax.lang.model.element.Element
Obeys the general contract of Object.hashCode.
hasLocation(JavaFileManager.Location) - Method in class javax.tools.ForwardingJavaFileManager
 
hasLocation(JavaFileManager.Location) - Method in interface javax.tools.JavaFileManager
Determines if a location is known to this file manager.
hasPrivateAccess() - Method in class java.lang.invoke.MethodHandles.Lookup
Returns true if this lookup has PRIVATE access.
hides(Element, Element) - Method in interface javax.lang.model.util.Elements
Tests whether one type, method, or field hides another.

I

IllegalCallerException - Exception in java.lang
NEW Thrown to indicate that a method has been called by an inappropriate caller.
InaccessibleObjectException - Exception in java.lang.reflect
NEW Thrown when Java language access checks cannot be suppressed.
InvalidModuleDescriptorException - Exception in java.lang.module
NEW Thrown when reading a module descriptor and the module descriptor is found to be malformed or otherwise cannot be interpreted as a module descriptor.
INSTANCE_INIT - javax.lang.model.element.ElementKind
An instance initializer.
INT - javax.lang.model.type.TypeKind
The primitive type int.
INTERFACE - javax.lang.model.element.ElementKind
An interface not described by a more specific kind (like ANNOTATION_TYPE).
INTERSECTION - javax.lang.model.type.TypeKind
An intersection type.
Instrumentation - Interface in java.lang.instrument
REVISED This class provides services needed to instrument Java programming language code.
IllegalCallerException() - Constructor for exception java.lang.IllegalCallerException
Constructs an IllegalCallerException with no detail message.
IllegalCallerException(String) - Constructor for exception java.lang.IllegalCallerException
Constructs an IllegalCallerException with the specified detail message.
IllegalCallerException(String, Throwable) - Constructor for exception java.lang.IllegalCallerException
Constructs a new exception with the specified detail message and cause.
IllegalCallerException(Throwable) - Constructor for exception java.lang.IllegalCallerException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
InaccessibleObjectException() - Constructor for exception java.lang.reflect.InaccessibleObjectException
Constructs an InaccessibleObjectException with no detail message.
InaccessibleObjectException(String) - Constructor for exception java.lang.reflect.InaccessibleObjectException
Constructs an InaccessibleObjectException with the given detail message.
InvalidModuleDescriptorException() - Constructor for exception java.lang.module.InvalidModuleDescriptorException
Constructs an InvalidModuleDescriptorException with no detail message.
InvalidModuleDescriptorException(String) - Constructor for exception java.lang.module.InvalidModuleDescriptorException
Constructs an InvalidModuleDescriptorException with the specified detail message.
identity(Class<?>) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle which returns its sole argument when invoked.
in(Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
REVISED Creates a lookup on the specified new lookup class.
inferBinaryName(JavaFileManager.Location, JavaFileObject) - Method in class javax.tools.ForwardingJavaFileManager
 
inferBinaryName(JavaFileManager.Location, JavaFileObject) - Method in interface javax.tools.JavaFileManager
Infers a binary name of a file object based on a package-oriented location.
inferModuleName(JavaFileManager.Location) - Method in class javax.tools.ForwardingJavaFileManager
NEW 
 
inferModuleName(JavaFileManager.Location) - Method in interface javax.tools.JavaFileManager
NEW Infer the name of the module from its location, as returned by getLocationForModule or listModuleLocations.
insertArguments(MethodHandle, int, Object...) - Static method in class java.lang.invoke.MethodHandles
Provides a target method handle with one or more bound arguments in advance of the method handle's invocation.
invoker(MethodType) - Static method in class java.lang.invoke.MethodHandles
Produces a special invoker method handle which can be used to invoke any method handle compatible with the given type, as if by invoke.
isAccessible() - Method in class java.lang.reflect.AccessibleObject
Deprecated.
REVISED This method is deprecated because its name hints that it checks if the reflected object is accessible when it actually indicates if the checks for Java language access control are suppressed. This method may return false on a reflected object that is accessible to the caller. To test if this reflected object is accessible, it should use AccessibleObject.canAccess(Object).
isAnnotation() - Method in class java.lang.Class
Returns true if this Class object represents an annotation type.
isAnnotationPresent(Class<? extends Annotation>) - Method in class java.lang.Class
Returns true if an annotation for the specified type is present on this element, else false.
isAnnotationPresent(Class<? extends Annotation>) - Method in class java.lang.Package
Returns true if an annotation for the specified type is present on this element, else false.
isAnnotationPresent(Class<? extends Annotation>) - Method in class java.lang.reflect.AccessibleObject
Returns true if an annotation for the specified type is present on this element, else false.
isAnonymousClass() - Method in class java.lang.Class
Returns true if and only if the underlying class is an anonymous class.
isArray() - Method in class java.lang.Class
Determines if this Class object represents an array class.
isAssignableFrom(Class<?>) - Method in class java.lang.Class
Determines if the class or interface represented by this Class object is either the same as, or is a superclass or superinterface of, the class or interface represented by the specified Class parameter.
isAutomatic() - Method in class java.lang.module.ModuleDescriptor
Returns true if this is an automatic module.
isBridge(ExecutableElement) - Method in interface javax.lang.model.util.Elements
Returns true if the executable element is a bridge method, false otherwise.
isClass() - Method in enum javax.lang.model.element.ElementKind
Returns true if this is a kind of class: either CLASS or ENUM.
isCompatibleWith(String) - Method in class java.lang.Package
Compare this package's specification version with a desired version.
isDeprecated(Element) - Method in interface javax.lang.model.util.Elements
Returns true if the element is deprecated, false otherwise.
isEnum() - Method in class java.lang.Class
Returns true if and only if this class was declared as an enum in the source code.
isExported(String) - Method in class java.lang.Module
Returns true if this module exports the given package unconditionally.
isExported(String, Module) - Method in class java.lang.Module
Returns true if this module exports the given package to at least the given module.
isField() - Method in enum javax.lang.model.element.ElementKind
Returns true if this is a kind of field: either FIELD or ENUM_CONSTANT.
isFunctionalInterface(TypeElement) - Method in interface javax.lang.model.util.Elements
Returns true if the type element is a functional interface, false otherwise.
isInstance(Object) - Method in class java.lang.Class
Determines if the specified Object is assignment-compatible with the object represented by this Class.
isInterface() - Method in class java.lang.Class
Determines if the specified Class object represents an interface type.
isInterface() - Method in enum javax.lang.model.element.ElementKind
Returns true if this is a kind of interface: either INTERFACE or ANNOTATION_TYPE.
isLocalClass() - Method in class java.lang.Class
Returns true if and only if the underlying class is a local class.
isMemberClass() - Method in class java.lang.Class
Returns true if and only if the underlying class is a member class.
isModifiableClass(Class<?>) - Method in interface java.lang.instrument.Instrumentation
Tests whether a class is modifiable by retransformation or redefinition.
isModifiableModule(Module) - Method in interface java.lang.instrument.Instrumentation
NEW Tests whether a module can be modified with redefineModule.
isModuleOrientedLocation() - Method in interface javax.tools.JavaFileManager.Location
NEW Indicates if this location is module-oriented location, and therefore expected to contain classes in a module/package/class hierarchy, as compared to a package-oriented location, which is expected to contain classes in a package/class hierarchy.
isModuleOrientedLocation() - Method in enum javax.tools.StandardLocation
Indicates if this location is module-oriented location, and therefore expected to contain classes in a module/package/class hierarchy, as compared to a package-oriented location, which is expected to contain classes in a package/class hierarchy.
isNamed() - Method in class java.lang.Module
Returns true if this module is a named module.
isNativeMethod() - Method in class java.lang.StackTraceElement
Returns true if the method containing the execution point represented by this stack trace element is a native method.
isNativeMethodPrefixSupported() - Method in interface java.lang.instrument.Instrumentation
Returns whether the current JVM configuration supports setting a native method prefix.
isOpen() - Method in class java.lang.module.ModuleDescriptor
Returns true if this is an open module.
isOpen() - Method in interface javax.lang.model.element.ModuleElement
Returns true if this is an open module and false otherwise.
isOpen(String) - Method in class java.lang.Module
Returns true if this module has opened a package unconditionally.
isOpen(String, Module) - Method in class java.lang.Module
Returns true if this module has opened a package to at least the given module.
isOutputLocation() - Method in interface javax.tools.JavaFileManager.Location
Determines if this is an output location.
isOutputLocation() - Method in enum javax.tools.StandardLocation
 
isPrimitive() - Method in class java.lang.Class
Determines if the specified Class object represents a primitive type.
isPrimitive() - Method in enum javax.lang.model.type.TypeKind
Returns true if this kind corresponds to a primitive type and false otherwise.
isProxyClass(Class<?>) - Static method in class java.lang.reflect.Proxy
REVISED Returns true if the given class is a proxy class.
isQualified() - Method in class java.lang.module.ModuleDescriptor.Exports
Returns true if this is a qualified export.
isQualified() - Method in class java.lang.module.ModuleDescriptor.Opens
Returns true if this is a qualified opens.
isRedefineClassesSupported() - Method in interface java.lang.instrument.Instrumentation
Returns whether or not the current JVM configuration supports redefinition of classes.
isRegisteredAsParallelCapable() - Method in class java.lang.ClassLoader
Returns true if this class loader is registered as parallel capable, otherwise false.
isRetransformClassesSupported() - Method in interface java.lang.instrument.Instrumentation
Returns whether or not the current JVM configuration supports retransformation of classes.
isSameFile(FileObject, FileObject) - Method in class javax.tools.ForwardingJavaFileManager
 
isSameFile(FileObject, FileObject) - Method in interface javax.tools.JavaFileManager
Compares two file objects and return true if they represent the same underlying object.
isSealed() - Method in class java.lang.Package
Returns true if this package is sealed.
isSealed(URL) - Method in class java.lang.Package
Returns true if this package is sealed with respect to the specified code source url.
isStatic() - Method in interface javax.lang.model.element.ModuleElement.RequiresDirective
Returns whether or not this is a static dependency.
isSupportedOption(String) - Method in class javax.tools.ForwardingJavaFileManager
 
isSynthetic() - Method in class java.lang.Class
Returns true if this class is a synthetic class; returns false otherwise.
isTransitive() - Method in interface javax.lang.model.element.ModuleElement.RequiresDirective
Returns whether or not this is a transitive dependency.
isUnnamed() - Method in interface javax.lang.model.element.ModuleElement
Returns true if this is an unnamed module and false otherwise.
isUnnamed() - Method in interface javax.lang.model.element.PackageElement
Returns true if this is an unnamed package and false otherwise.
iteratedLoop(MethodHandle, MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Constructs a loop that ranges over the values produced by an Iterator<T>.
iterator() - Method in class java.util.ServiceLoader
REVISED Returns an iterator to lazily load and instantiate the available providers of this loader's service.

J

Java Collections Framework - Search tag in util
 
java.base - module java.base
REVISED Defines the foundational APIs of the Java SE Platform.
java.compiler - module java.compiler
REVISED Defines the Language Model, Annotation Processing, and Java Compiler APIs.
java.instrument - module java.instrument
REVISED Defines services that allow agents to instrument programs running on the JVM.
jrt - Search tag in java.base
jrt
java.lang - package java.lang
REVISED Provides classes that are fundamental to the design of the Java programming language.
java.lang.instrument - package java.lang.instrument
REVISED Provides services that allow Java programming language agents to instrument programs running on the JVM.
java.lang.invoke - package java.lang.invoke
REVISED The java.lang.invoke package contains dynamic language support provided directly by the Java core class libraries and virtual machine.
java.lang.module - package java.lang.module
NEW Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.
java.lang.reflect - package java.lang.reflect
REVISED Provides classes and interfaces for obtaining reflective information about classes and objects.
java.net - package java.net
REVISED Provides the classes for implementing networking applications.
java.security - package java.security
REVISED Provides the classes and interfaces for the security framework.
java.util - package java.util
REVISED 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.spi - package java.util.spi
REVISED Service provider classes for the classes in the java.util package.
javax.lang.model.element - package javax.lang.model.element
REVISED Interfaces used to model elements of the Java programming language.
javax.lang.model.type - package javax.lang.model.type
REVISED Interfaces used to model Java programming language types.
javax.lang.model.util - package javax.lang.model.util
REVISED Utilities to assist in the processing of program elements and types.
javax.tools - package javax.tools
REVISED Provides interfaces for tools which can be invoked from a program, for example, compilers.
JavaFileManager - Interface in javax.tools
REVISED File manager for tools operating on Java™ programming language source and class files.
JavaFileManager.Location - Interface in javax.tools
REVISED Interface for locations of file objects.

K

keySet() - Method in class java.util.ResourceBundle
Returns a Set of all keys contained in this ResourceBundle and its parent bundles.

L

LayerInstantiationException - Exception in java.lang
NEW Thrown when creating a module layer fails.
LOCAL_VARIABLE - javax.lang.model.element.ElementKind
A local variable.
LONG - javax.lang.model.type.TypeKind
The primitive type long.
LayerInstantiationException() - Constructor for exception java.lang.LayerInstantiationException
Constructs a LayerInstantiationException with no detail message.
LayerInstantiationException(String) - Constructor for exception java.lang.LayerInstantiationException
Constructs a LayerInstantiationException with the given detail message.
LayerInstantiationException(String, Throwable) - Constructor for exception java.lang.LayerInstantiationException
Constructs a LayerInstantiationException with the given detail message and cause.
LayerInstantiationException(Throwable) - Constructor for exception java.lang.LayerInstantiationException
Constructs a LayerInstantiationException with the given cause.
layer() - Method in class java.lang.ModuleLayer.Controller
Returns the layer that this object controls.
list() - Method in interface java.lang.module.ModuleReader
Lists the contents of the module, returning a stream of elements that are the names of all resources in the module.
list(JavaFileManager.Location, String, Set<JavaFileObject.Kind>, boolean) - Method in class javax.tools.ForwardingJavaFileManager
 
list(JavaFileManager.Location, String, Set<JavaFileObject.Kind>, boolean) - Method in interface javax.tools.JavaFileManager
Lists all file objects matching the given criteria in the given package-oriented location.
listLocationsForModules(JavaFileManager.Location) - Method in class javax.tools.ForwardingJavaFileManager
NEW 
 
listLocationsForModules(JavaFileManager.Location) - Method in interface javax.tools.JavaFileManager
NEW Lists the locations for all the modules in a module-oriented location or an output location.
load(Class<S>) - Static method in class java.util.ServiceLoader
REVISED Creates a new service loader for the given service type, using the current thread's context class loader.
load(Class<S>, ClassLoader) - Static method in class java.util.ServiceLoader
REVISED Creates a new service loader for the given service.
load(ModuleLayer, Class<S>) - Static method in class java.util.ServiceLoader
NEW Creates a new service loader for the given service type to load service providers from modules in the given module layer and its ancestors.
loadClass(String) - Method in class java.lang.ClassLoader
Loads the class with the specified binary name.
loadClass(String, boolean) - Method in class java.lang.ClassLoader
Loads the class with the specified binary name.
loadInstalled(Class<S>) - Static method in class java.util.ServiceLoader
REVISED Creates a new service loader for the given service type, using the platform class loader.
location() - Method in class java.lang.module.ModuleReference
Returns the location of this module's content, if known.
locationFor(String) - Static method in enum javax.tools.StandardLocation
REVISED Returns a location object with the given name.
lookup() - Static method in class java.lang.invoke.MethodHandles
Returns a lookup object with full capabilities to emulate all supported bytecode behaviors of the caller.
lookupClass() - Method in class java.lang.invoke.MethodHandles.Lookup
Tells which class is performing the lookup.
lookupModes() - Method in class java.lang.invoke.MethodHandles.Lookup
REVISED Tells which access-protection classes of members this lookup object can produce.
loop(MethodHandle[]...) - Static method in class java.lang.invoke.MethodHandles
Constructs a method handle representing a loop with several loop variables that are updated and checked upon each iteration.

M

MethodHandles - Class in java.lang.invoke
REVISED This class consists exclusively of static methods that operate on or return method handles.
MethodHandles.Lookup - Class in java.lang.invoke
REVISED A lookup object is a factory for creating method handles, when the creation requires access checking.
Module - Class in java.lang
NEW Represents a run-time module, either named or unnamed.
ModuleDescriptor - Class in java.lang.module
NEW A module descriptor.
ModuleDescriptor.Builder - Class in java.lang.module
NEW A builder for building ModuleDescriptor objects.
ModuleDescriptor.Exports - Class in java.lang.module
NEW  A package exported by a module, may be qualified or unqualified.
ModuleDescriptor.Opens - Class in java.lang.module
NEW  A package opened by a module, may be qualified or unqualified.
ModuleDescriptor.Provides - Class in java.lang.module
NEW  A service that a module provides one or more implementations of.
ModuleDescriptor.Requires - Class in java.lang.module
NEW  A dependence upon a module
ModuleDescriptor.Version - Class in java.lang.module
NEW A module's version string.
ModuleLayer - Class in java.lang
NEW A layer of modules in the Java virtual machine.
ModuleLayer.Controller - Class in java.lang
NEW Controls a module layer.
ModuleReference - Class in java.lang.module
NEW A reference to a module's content.
ModuleDescriptor.Exports.Modifier - Enum in java.lang.module
NEW A modifier on an exported package.
ModuleDescriptor.Modifier - Enum in java.lang.module
NEW A modifier on a module.
ModuleDescriptor.Opens.Modifier - Enum in java.lang.module
NEW A modifier on an open package.
ModuleDescriptor.Requires.Modifier - Enum in java.lang.module
NEW A modifier on a module dependence.
ModuleElement.DirectiveKind - Enum in javax.lang.model.element
NEW The kind of a directive.
MANDATED - java.lang.module.ModuleDescriptor.Exports.Modifier
The export was implicitly declared in the source of the module declaration.
MANDATED - java.lang.module.ModuleDescriptor.Modifier
The module was implicitly declared.
MANDATED - java.lang.module.ModuleDescriptor.Opens.Modifier
The open package was implicitly declared in the source of the module declaration.
MANDATED - java.lang.module.ModuleDescriptor.Requires.Modifier
The dependence was implicitly declared in the source of the module declaration.
METHOD - javax.lang.model.element.ElementKind
A method.
MODULE - javax.lang.model.element.ElementKind
NEW A module.
MODULE - javax.lang.model.type.TypeKind
NEW A pseudo-type corresponding to a module element.
MODULE_PATH - javax.tools.StandardLocation
NEW Location to search for precompiled user modules.
MODULE_SOURCE_PATH - javax.tools.StandardLocation
NEW Location to search for the source code of modules.
ModuleElement - Interface in javax.lang.model.element
NEW Represents a module program element.
ModuleElement.Directive - Interface in javax.lang.model.element
NEW Represents a directive within the declaration of this module.
ModuleElement.DirectiveVisitor<R,P> - Interface in javax.lang.model.element
NEW A visitor of module directives, in the style of the visitor design pattern.
ModuleElement.ExportsDirective - Interface in javax.lang.model.element
NEW An exported package of a module.
ModuleElement.OpensDirective - Interface in javax.lang.model.element
NEW An opened package of a module.
ModuleElement.ProvidesDirective - Interface in javax.lang.model.element
NEW An implementation of a service provided by a module.
ModuleElement.RequiresDirective - Interface in javax.lang.model.element
NEW A dependency of a module.
ModuleElement.UsesDirective - Interface in javax.lang.model.element
NEW A reference to a service used by a module.
ModuleFinder - Interface in java.lang.module
NEW A finder of modules.
ModuleReader - Interface in java.lang.module
NEW Provides access to the content of a module.
MODULE - Static variable in class java.lang.invoke.MethodHandles.Lookup
NEW A single-bit mask representing module access (default access), which may contribute to the result of lookupModes.
ModuleReference(ModuleDescriptor, URI) - Constructor for class java.lang.module.ModuleReference
Constructs a new instance of this class.
mainClass() - Method in class java.lang.module.ModuleDescriptor
Returns the module main class.
mainClass(String) - Method in class java.lang.module.ModuleDescriptor.Builder
Sets the module main class.
methodsIn(Iterable<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a list of methods in elements.
methodsIn(Set<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a set of methods in elements.
modifiers() - Method in class java.lang.module.ModuleDescriptor.Exports
Returns the set of modifiers.
modifiers() - Method in class java.lang.module.ModuleDescriptor
Returns the set of module modifiers.
modifiers() - Method in class java.lang.module.ModuleDescriptor.Opens
Returns the set of modifiers.
modifiers() - Method in class java.lang.module.ModuleDescriptor.Requires
Returns the set of modifiers.
modules() - Method in class java.lang.module.Configuration
Returns an immutable set of the resolved modules in this configuration.
modules() - Method in class java.lang.ModuleLayer
Returns the set of the modules in this layer.
modulesIn(Iterable<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
NEW Returns a list of modules in elements.
modulesIn(Set<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
NEW Returns a set of modules in elements.

N

NATIVE_HEADER_OUTPUT - javax.tools.StandardLocation
Location of new native header files.
NONE - javax.lang.model.type.TypeKind
A pseudo-type used where no actual type is appropriate.
NULL - javax.lang.model.type.TypeKind
The null type.
name() - Method in class java.lang.module.ModuleDescriptor
Returns the module name.
name() - Method in class java.lang.module.ModuleDescriptor.Requires
Return the module name.
name() - Method in class java.lang.module.ResolvedModule
Returns the module name.
needsReload(String, Locale, String, ClassLoader, ResourceBundle, long) - Method in class java.util.ResourceBundle.Control
Determines if the expired bundle in the cache needs to be reloaded based on the loading time given by loadTime or some other criteria.
newAutomaticModule(String) - Static method in class java.lang.module.ModuleDescriptor
Instantiates a builder to build a module descriptor for an automatic module.
newBundle(String, Locale, String, ClassLoader, boolean) - Method in class java.util.ResourceBundle.Control
REVISED Instantiates a resource bundle for the given bundle name of the given format and locale, using the given class loader if necessary.
newInstance() - Method in class java.lang.Class
Deprecated.
This method propagates any exception thrown by the nullary constructor, including a checked exception. Use of this method effectively bypasses the compile-time exception checking that would otherwise be performed by the compiler. The Constructor.newInstance method avoids this problem by wrapping any exception thrown by the constructor in a (checked) InvocationTargetException.

The call


 clazz.newInstance()
 
can be replaced by

 clazz.getDeclaredConstructor().newInstance()
 
The latter sequence of calls is inferred to be able to throw the additional exception types InvocationTargetException and NoSuchMethodException. Both of these exception types are subclasses of ReflectiveOperationException.
newInstance(URL[]) - Static method in class java.net.URLClassLoader
Creates a new instance of URLClassLoader for the specified URLs and default parent class loader.
newInstance(URL[], ClassLoader) - Static method in class java.net.URLClassLoader
Creates a new instance of URLClassLoader for the specified URLs and parent class loader.
newModule(String) - Static method in class java.lang.module.ModuleDescriptor
Instantiates a builder to build a module descriptor for a normal module.
newModule(String, Set<ModuleDescriptor.Modifier>) - Static method in class java.lang.module.ModuleDescriptor
Instantiates a builder to build a module descriptor.
newOpenModule(String) - Static method in class java.lang.module.ModuleDescriptor
Instantiates a builder to build a module descriptor for an open module.
newProxyInstance(ClassLoader, Class<?>[], InvocationHandler) - Static method in class java.lang.reflect.Proxy
REVISED Returns a proxy instance for the specified interfaces that dispatches method invocations to the specified invocation handler.

O

OPEN - java.lang.module.ModuleDescriptor.Modifier
An open module.
OPENS - javax.lang.model.element.ModuleElement.DirectiveKind
An "opens package-name [to module-name-list]" directive.
OTHER - javax.lang.model.element.ElementKind
An implementation-reserved element.
OTHER - javax.lang.model.type.TypeKind
An implementation-reserved type.
of(Path...) - Static method in interface java.lang.module.ModuleFinder
Returns a module finder that locates modules on the file system by searching a sequence of directories and/or packaged modules.
ofSystem() - Static method in interface java.lang.module.ModuleFinder
Returns a module finder that locates the system modules.
open() - Method in class java.lang.module.ModuleReference
Opens the module content for reading.
open(String) - Method in interface java.lang.module.ModuleReader
Opens a resource, returning an input stream to read the resource in the module.
opens() - Method in class java.lang.module.ModuleDescriptor
Returns the set of Opens objects representing the open packages.
opens(ModuleDescriptor.Opens) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an open package.
opens(String) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an open package.
opens(String, Set<String>) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an open package.
opens(Set<ModuleDescriptor.Opens.Modifier>, String) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an open package with the given (and possibly empty) set of modifiers.
opens(Set<ModuleDescriptor.Opens.Modifier>, String, Set<String>) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds an open package with the given (and possibly empty) set of modifiers.
opensIn(Iterable<? extends ModuleElement.Directive>) - Static method in class javax.lang.model.util.ElementFilter
Returns a list of opens directives in directives.
overrides(ExecutableElement, ExecutableElement, TypeElement) - Method in interface javax.lang.model.util.Elements
Tests whether one method, as a member of a given type, overrides another method.

P

Package - Class in java.lang
REVISED Represents metadata about a run-time package associated with a class loader.
Proxy - Class in java.lang.reflect
REVISED Proxy provides static methods for creating objects that act like instances of interfaces but allow for customized method invocation.
PACKAGE - javax.lang.model.element.ElementKind
A package.
PACKAGE - javax.lang.model.type.TypeKind
A pseudo-type corresponding to a package element.
PARAMETER - javax.lang.model.element.ElementKind
A parameter of a method or constructor.
PATCH_MODULE_PATH - javax.tools.StandardLocation
NEW Location to search for module patches.
PLATFORM_CLASS_PATH - javax.tools.StandardLocation
Location to search for platform classes.
PROVIDES - javax.lang.model.element.ModuleElement.DirectiveKind
A "provides service-name with implementation-name" directive.
PackageElement - Interface in javax.lang.model.element
REVISED Represents a package program element.
PACKAGE - Static variable in class java.lang.invoke.MethodHandles.Lookup
A single-bit mask representing package access (default access), which may contribute to the result of lookupModes.
parent - Variable in class java.util.ResourceBundle
The parent bundle of this bundle.
PRIVATE - Static variable in class java.lang.invoke.MethodHandles.Lookup
A single-bit mask representing private access, which may contribute to the result of lookupModes.
PROTECTED - Static variable in class java.lang.invoke.MethodHandles.Lookup
A single-bit mask representing protected access, which may contribute to the result of lookupModes.
PUBLIC - Static variable in class java.lang.invoke.MethodHandles.Lookup
A single-bit mask representing public access, which may contribute to the result of lookupModes.
Proxy(InvocationHandler) - Constructor for class java.lang.reflect.Proxy
Constructs a new Proxy instance from a subclass (typically, a dynamic proxy class) with the specified value for its invocation handler.
packages() - Method in class java.lang.module.ModuleDescriptor
Returns the set of packages in the module.
packages(Set<String>) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds packages to the module.
packagesIn(Iterable<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a list of packages in elements.
packagesIn(Set<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a set of packages in elements.
parents() - Method in class java.lang.module.Configuration
Returns an unmodifiable list of this configuration's parents, in search order.
parents() - Method in class java.lang.ModuleLayer
Returns the list of this layer's parents unless this is the empty layer, which has no parents and so an empty list is returned.
parse(String) - Static method in class java.lang.module.ModuleDescriptor.Version
Parses the given string as a version string.
permuteArguments(MethodHandle, MethodType, int...) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle which adapts the calling sequence of the given method handle to a new type, by reordering the arguments.
printElements(Writer, Element...) - Method in interface javax.lang.model.util.Elements
Prints a representation of the elements to the given writer in the specified order.
privateLookupIn(Class<?>, MethodHandles.Lookup) - Static method in class java.lang.invoke.MethodHandles
NEW Returns a lookup object with full capabilities to emulate all supported bytecode behaviors, including private access, on a target class.
providers() - Method in class java.lang.module.ModuleDescriptor.Provides
Returns the list of the fully qualified class names of the providers or provider factories.
provides() - Method in class java.lang.module.ModuleDescriptor
Returns the set of Provides objects representing the services that the module provides.
provides(ModuleDescriptor.Provides) - Method in class java.lang.module.ModuleDescriptor.Builder
Provides a service with one or more implementations.
provides(String, List<String>) - Method in class java.lang.module.ModuleDescriptor.Builder
Provides implementations of a service.
providesIn(Iterable<? extends ModuleElement.Directive>) - Static method in class javax.lang.model.util.ElementFilter
NEW Returns a list of provides directives in directives.
publicLookup() - Static method in class java.lang.invoke.MethodHandles
REVISED Returns a lookup object which is trusted minimally.

R

ResolutionException - Exception in java.lang.module
NEW Thrown when resolving a set of modules, or resolving a set of modules with service binding, fails.
ResolvedModule - Class in java.lang.module
NEW A module in a graph of resolved modules.
ResourceBundle - Class in java.util
REVISED Resource bundles contain locale-specific objects.
ResourceBundle.Control - Class in java.util
REVISED ResourceBundle.Control defines a set of callback methods that are invoked by the ResourceBundle.getBundle factory methods during the bundle loading process.
REQUIRES - javax.lang.model.element.ModuleElement.DirectiveKind
A "requires (static|transitive)* module-name" directive.
RESOURCE_VARIABLE - javax.lang.model.element.ElementKind
A resource variable.
ResourceBundleControlProvider - Interface in java.util.spi
REVISED An interface for service providers that provide implementations of ResourceBundle.Control.
ResourceBundleProvider - Interface in java.util.spi
NEW ResourceBundleProvider is a provider interface that is used for loading resource bundles for named modules.
ResolutionException() - Constructor for exception java.lang.module.ResolutionException
Constructs a ResolutionException with no detail message.
ResolutionException(String) - Constructor for exception java.lang.module.ResolutionException
Constructs a ResolutionException with the given detail message.
ResolutionException(String, Throwable) - Constructor for exception java.lang.module.ResolutionException
Constructs a ResolutionException with the given detail message and cause.
ResolutionException(Throwable) - Constructor for exception java.lang.module.ResolutionException
Constructs an instance of this exception with the given cause.
ResourceBundle() - Constructor for class java.util.ResourceBundle
Sole constructor.
rawCompiledVersion() - Method in class java.lang.module.ModuleDescriptor.Requires
Returns the string with the possibly-unparseable version of the module if recorded at compile-time.
rawVersion() - Method in class java.lang.module.ModuleDescriptor
Returns the string with the possibly-unparseable version of the module
read(InputStream) - Static method in class java.lang.module.ModuleDescriptor
Reads the binary form of a module declaration from an input stream as a module descriptor.
read(InputStream, Supplier<Set<String>>) - Static method in class java.lang.module.ModuleDescriptor
Reads the binary form of a module declaration from an input stream as a module descriptor.
read(String) - Method in interface java.lang.module.ModuleReader
Reads a resource, returning a byte buffer with the contents of the resource.
read(ByteBuffer) - Static method in class java.lang.module.ModuleDescriptor
Reads the binary form of a module declaration from a byte buffer as a module descriptor.
read(ByteBuffer, Supplier<Set<String>>) - Static method in class java.lang.module.ModuleDescriptor
Reads the binary form of a module declaration from a byte buffer as a module descriptor.
reads() - Method in class java.lang.module.ResolvedModule
Returns the set of resolved modules that this resolved module reads.
redefineClasses(ClassDefinition...) - Method in interface java.lang.instrument.Instrumentation
Redefine the supplied set of classes using the supplied class files.
redefineModule(Module, Set<Module>, Map<String, Set<Module>>, Map<String, Set<Module>>, Set<Class<?>>, Map<Class<?>, List<Class<?>>>) - Method in interface java.lang.instrument.Instrumentation
NEW Redefine a module to expand the set of modules that it reads, the set of packages that it exports or opens, or the services that it uses or provides.
reference() - Method in class java.lang.module.ResolvedModule
Returns the reference to the module's content.
reflectAs(Class<T>, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Performs an unchecked "crack" of a direct method handle.
registerAsParallelCapable() - Static method in class java.lang.ClassLoader
Registers the caller as parallel capable.
release(ByteBuffer) - Method in interface java.lang.module.ModuleReader
Release a byte buffer.
reload() - Method in class java.util.ServiceLoader
Clear this loader's provider cache so that all providers will be reloaded.
removeTransformer(ClassFileTransformer) - Method in interface java.lang.instrument.Instrumentation
Unregisters the supplied transformer.
requires() - Method in class java.lang.module.ModuleDescriptor
Returns the set of Requires objects representing the module dependences.
requires(ModuleDescriptor.Requires) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds a dependence on a module.
requires(String) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds a dependence on a module with an empty set of modifiers.
requires(Set<ModuleDescriptor.Requires.Modifier>, String) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds a dependence on a module with the given (and possibly empty) set of modifiers.
requires(Set<ModuleDescriptor.Requires.Modifier>, String, ModuleDescriptor.Version) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds a dependence on a module with the given (and possibly empty) set of modifiers.
requiresIn(Iterable<? extends ModuleElement.Directive>) - Static method in class javax.lang.model.util.ElementFilter
NEW Returns a list of requires directives in directives.
resolve(ModuleFinder, ModuleFinder, Collection<String>) - Method in class java.lang.module.Configuration
Resolves a collection of root modules, with this configuration as its parent, to create a new configuration.
resolve(ModuleFinder, List<Configuration>, ModuleFinder, Collection<String>) - Static method in class java.lang.module.Configuration
Resolves a collection of root modules to create a configuration.
resolveAndBind(ModuleFinder, ModuleFinder, Collection<String>) - Method in class java.lang.module.Configuration
Resolves a collection of root modules, with service binding, and with this configuration as its parent, to create a new configuration.
resolveAndBind(ModuleFinder, List<Configuration>, ModuleFinder, Collection<String>) - Static method in class java.lang.module.Configuration
Resolves a collection of root modules, with service binding, to create configuration.
resolveClass(Class<?>) - Method in class java.lang.ClassLoader
Links the specified class.
resources(String) - Method in class java.lang.ClassLoader
Returns a stream whose elements are the URLs of all the resources with the given name.
retransformClasses(Class<?>...) - Method in interface java.lang.instrument.Instrumentation
Retransform the supplied set of classes.
revealDirect(MethodHandle) - Method in class java.lang.invoke.MethodHandles.Lookup
Cracks a direct method handle created by this lookup object or a similar one.

S

SecureClassLoader - Class in java.security
REVISED This class extends ClassLoader with additional support for defining classes with an associated code source and permissions which are retrieved by the system policy by default.
ServiceLoader<S> - Class in java.util
REVISED A facility to load implementations of a service.
SimpleElementVisitor9<R,P> - Class in javax.lang.model.util
NEW A simple visitor of program elements with default behavior appropriate for the RELEASE_9 source version.
StackTraceElement - Class in java.lang
REVISED An element in a stack trace, as returned by Throwable.getStackTrace().
StandardLocation - Enum in javax.tools
REVISED Standard locations of file objects.
SHORT - javax.lang.model.type.TypeKind
The primitive type short.
SOURCE_OUTPUT - javax.tools.StandardLocation
Location of new source files.
SOURCE_PATH - javax.tools.StandardLocation
Location to search for existing source files.
STATIC - java.lang.module.ModuleDescriptor.Requires.Modifier
The dependence is mandatory in the static phase, during compilation, but is optional in the dynamic phase, during execution.
STATIC_INIT - javax.lang.model.element.ElementKind
A static initializer.
SYNTHETIC - java.lang.module.ModuleDescriptor.Exports.Modifier
The export was not explicitly or implicitly declared in the source of the module declaration.
SYNTHETIC - java.lang.module.ModuleDescriptor.Modifier
The module was not explicitly or implicitly declared.
SYNTHETIC - java.lang.module.ModuleDescriptor.Opens.Modifier
The open package was not explicitly or implicitly declared in the source of the module declaration.
SYNTHETIC - java.lang.module.ModuleDescriptor.Requires.Modifier
The dependence was not explicitly or implicitly declared in the source of the module declaration.
SYSTEM_MODULES - javax.tools.StandardLocation
NEW Location to search for system modules.
ServiceLoader.Provider<S> - Interface in java.util
NEW Represents a service provider located by ServiceLoader.
SecureClassLoader() - Constructor for class java.security.SecureClassLoader
Creates a new SecureClassLoader using the default parent class loader for delegation.
SecureClassLoader(ClassLoader) - Constructor for class java.security.SecureClassLoader
Creates a new SecureClassLoader using the specified parent class loader for delegation.
SecureClassLoader(String, ClassLoader) - Constructor for class java.security.SecureClassLoader
NEW Creates a new SecureClassLoader of the specified name and using the specified parent class loader for delegation.
SimpleElementVisitor9() - Constructor for class javax.lang.model.util.SimpleElementVisitor9
Constructor for concrete subclasses; uses null for the default value.
SimpleElementVisitor9(R) - Constructor for class javax.lang.model.util.SimpleElementVisitor9
Constructor for concrete subclasses; uses the argument for the default value.
StackTraceElement(String, String, String, int) - Constructor for class java.lang.StackTraceElement
REVISED Creates a stack trace element representing the specified execution point.
StackTraceElement(String, String, String, String, String, String, int) - Constructor for class java.lang.StackTraceElement
NEW Creates a stack trace element representing the specified execution point.
service() - Method in class java.lang.module.ModuleDescriptor.Provides
Returns the fully qualified class name of the service type.
setAccessible(boolean) - Method in class java.lang.reflect.AccessibleObject
REVISED Set the accessible flag for this reflected object to the indicated boolean value.
setAccessible(AccessibleObject[], boolean) - Static method in class java.lang.reflect.AccessibleObject
REVISED Convenience method to set the accessible flag for an array of reflected objects with a single security check (for efficiency).
setClassAssertionStatus(String, boolean) - Method in class java.lang.ClassLoader
Sets the desired assertion status for the named top-level class in this class loader and any nested classes contained therein.
setDefaultAssertionStatus(boolean) - Method in class java.lang.ClassLoader
Sets the default assertion status for this class loader.
setNativeMethodPrefix(ClassFileTransformer, String) - Method in interface java.lang.instrument.Instrumentation
This method modifies the failure handling of native method resolution by allowing retry with a prefix applied to the name.
setPackageAssertionStatus(String, boolean) - Method in class java.lang.ClassLoader
Sets the package default assertion status for the named package.
setParent(ResourceBundle) - Method in class java.util.ResourceBundle
Sets the parent bundle of this bundle.
setSigners(Class<?>, Object[]) - Method in class java.lang.ClassLoader
Sets the signers of a class.
source() - Method in class java.lang.module.ModuleDescriptor.Exports
Returns the package name.
source() - Method in class java.lang.module.ModuleDescriptor.Opens
Returns the package name.
spreadInvoker(MethodType, int) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle which will invoke any method handle of the given type, with a given number of trailing arguments replaced by a single trailing Object[] array.
stream() - Method in class java.util.ServiceLoader
NEW Returns a stream to lazily load available providers of this loader's service.

T

TypeKind - Enum in javax.lang.model.type
REVISED The kind of a type mirror.
TRANSITIVE - java.lang.module.ModuleDescriptor.Requires.Modifier
The dependence causes any module which depends on the current module to have an implicitly declared dependence on the module named by the Requires.
TYPE_PARAMETER - javax.lang.model.element.ElementKind
A type parameter.
TYPEVAR - javax.lang.model.type.TypeKind
A type variable.
TTL_DONT_CACHE - Static variable in class java.util.ResourceBundle.Control
The time-to-live constant for not caching loaded resource bundle instances.
TTL_NO_EXPIRATION_CONTROL - Static variable in class java.util.ResourceBundle.Control
The time-to-live constant for disabling the expiration control for loaded resource bundle instances in the cache.
targets() - Method in class java.lang.module.ModuleDescriptor.Exports
For a qualified export, returns the non-empty and immutable set of the module names to which the package is exported.
targets() - Method in class java.lang.module.ModuleDescriptor.Opens
For a qualified opens, returns the non-empty and immutable set of the module names to which the package is open.
throwException(Class<?>, Class<? extends Throwable>) - Static method in class java.lang.invoke.MethodHandles
Produces a method handle which will throw exceptions of the given exType.
toBundleName(String, Locale) - Method in class java.util.ResourceBundle.Control
Converts the given baseName and locale to the bundle name.
toBundleName(String, Locale) - Method in class java.util.spi.AbstractResourceBundleProvider
Returns the bundle name for the given baseName and locale that this provider provides.
toGenericString() - Method in class java.lang.Class
Returns a string describing this Class, including information about modifiers and type parameters.
toNameAndVersion() - Method in class java.lang.module.ModuleDescriptor
Returns a string containing the module name and, if present, its version.
toResourceName(String, String) - Method in class java.util.ResourceBundle.Control
Converts the given bundleName to the form required by the ClassLoader.getResource method by replacing all occurrences of '.' in bundleName with '/' and appending a '.' and the given file suffix.
toString() - Method in class java.lang.Class
Converts the object to a string.
toString() - Method in class java.lang.invoke.MethodHandles.Lookup
REVISED Displays the name of the class from which lookups are to be made.
toString() - Method in class java.lang.module.Configuration
Returns a string describing this configuration.
toString() - Method in class java.lang.module.ModuleDescriptor.Exports
Returns a string describing the exported package.
toString() - Method in class java.lang.module.ModuleDescriptor.Opens
Returns a string describing the open package.
toString() - Method in class java.lang.module.ModuleDescriptor.Provides
Returns a string describing this provides.
toString() - Method in class java.lang.module.ModuleDescriptor.Requires
Returns a string describing this module dependence.
toString() - Method in class java.lang.module.ModuleDescriptor
Returns a string describing the module.
toString() - Method in class java.lang.module.ModuleDescriptor.Version
Returns the string from which this version was parsed.
toString() - Method in class java.lang.module.ResolvedModule
Returns a string describing this resolved module.
toString() - Method in class java.lang.Module
Returns the string representation of this module.
toString() - Method in class java.lang.ModuleLayer
Returns a string describing this module layer.
toString() - Method in class java.lang.Package
Returns the string representation of this Package.
toString() - Method in class java.lang.StackTraceElement
REVISED Returns a string representation of this stack trace element.
toString() - Method in class java.util.ServiceLoader
Returns a string describing this service.
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in interface java.lang.instrument.ClassFileTransformer
REVISED Transforms the given class file and returns a new replacement class file.
transform(Module, ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in interface java.lang.instrument.ClassFileTransformer
NEW Transforms the given class file and returns a new replacement class file.
tryFinally(MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Makes a method handle that adapts a target method handle by wrapping it in a try-finally block.
trySetAccessible() - Method in class java.lang.reflect.AccessibleObject
NEW Set the accessible flag for this reflected object to true if possible.
type() - Method in interface java.util.ServiceLoader.Provider
Returns the provider type.
typesIn(Iterable<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a list of types in elements.
typesIn(Set<? extends Element>) - Static method in class javax.lang.model.util.ElementFilter
Returns a set of types in elements.

U

UnknownDirectiveException - Exception in javax.lang.model.element
NEW Indicates that an unknown kind of module directive was encountered.
UnmodifiableModuleException - Exception in java.lang.instrument
NEW Thrown to indicate that a module cannot be modified.
URLClassLoader - Class in java.net
REVISED This class loader is used to load classes and resources from a search path of URLs referring to both JAR files and directories.
UNION - javax.lang.model.type.TypeKind
A union type.
UPGRADE_MODULE_PATH - javax.tools.StandardLocation
NEW Location to search for upgradeable system modules.
USES - javax.lang.model.element.ModuleElement.DirectiveKind
A "uses service-name" directive.
UNCONDITIONAL - Static variable in class java.lang.invoke.MethodHandles.Lookup
NEW A single-bit mask representing unconditional access which may contribute to the result of lookupModes.
UnknownDirectiveException(ModuleElement.Directive, Object) - Constructor for exception javax.lang.model.element.UnknownDirectiveException
Creates a new UnknownElementException.
UnmodifiableModuleException() - Constructor for exception java.lang.instrument.UnmodifiableModuleException
Constructs an UnmodifiableModuleException with no detail message.
UnmodifiableModuleException(String) - Constructor for exception java.lang.instrument.UnmodifiableModuleException
Constructs an UnmodifiableModuleException with the specified detail message.
URLClassLoader(String, URL[], ClassLoader) - Constructor for class java.net.URLClassLoader
NEW Constructs a new named URLClassLoader for the specified URLs.
URLClassLoader(String, URL[], ClassLoader, URLStreamHandlerFactory) - Constructor for class java.net.URLClassLoader
NEW Constructs a new named URLClassLoader for the specified URLs, parent class loader, and URLStreamHandlerFactory.
URLClassLoader(URL[]) - Constructor for class java.net.URLClassLoader
Constructs a new URLClassLoader for the specified URLs using the default delegation parent ClassLoader.
URLClassLoader(URL[], ClassLoader) - Constructor for class java.net.URLClassLoader
Constructs a new URLClassLoader for the given URLs.
URLClassLoader(URL[], ClassLoader, URLStreamHandlerFactory) - Constructor for class java.net.URLClassLoader
Constructs a new URLClassLoader for the specified URLs, parent class loader, and URLStreamHandlerFactory.
unreflect(Method) - Method in class java.lang.invoke.MethodHandles.Lookup
Makes a direct method handle to m, if the lookup class has permission.
unreflectConstructor(Constructor<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle for a reflected constructor.
unreflectGetter(Field) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle giving read access to a reflected field.
unreflectSetter(Field) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle giving write access to a reflected field.
unreflectSpecial(Method, Class<?>) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a method handle for a reflected method.
unreflectVarHandle(Field) - Method in class java.lang.invoke.MethodHandles.Lookup
Produces a VarHandle giving access to a reflected field f of type T declared in a class of type R.
uses() - Method in class java.lang.module.ModuleDescriptor
Returns the set of service dependences.
uses(String) - Method in class java.lang.module.ModuleDescriptor.Builder
Adds a service dependence.
usesIn(Iterable<? extends ModuleElement.Directive>) - Static method in class javax.lang.model.util.ElementFilter
NEW Returns a list of uses directives in directives.

V

VOID - javax.lang.model.type.TypeKind
The pseudo-type corresponding to the keyword void.
valueOf(String) - Static method in enum java.lang.module.ModuleDescriptor.Exports.Modifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum java.lang.module.ModuleDescriptor.Modifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum java.lang.module.ModuleDescriptor.Opens.Modifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum java.lang.module.ModuleDescriptor.Requires.Modifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum javax.lang.model.element.ElementKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum javax.lang.model.element.ModuleElement.DirectiveKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum javax.lang.model.type.TypeKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum javax.tools.StandardLocation
Returns the enum constant of this type with the specified name.
values() - Static method in enum java.lang.module.ModuleDescriptor.Exports.Modifier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum java.lang.module.ModuleDescriptor.Modifier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum java.lang.module.ModuleDescriptor.Opens.Modifier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum java.lang.module.ModuleDescriptor.Requires.Modifier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum javax.lang.model.element.ElementKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum javax.lang.model.element.ModuleElement.DirectiveKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum javax.lang.model.type.TypeKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum javax.tools.StandardLocation
Returns an array containing the constants of this enum type, in the order they are declared.
varHandleExactInvoker(VarHandle.AccessMode, MethodType) - Static method in class java.lang.invoke.MethodHandles
Produces a special invoker method handle which can be used to invoke a signature-polymorphic access mode method on any VarHandle whose associated access mode type is compatible with the given type.
varHandleInvoker(VarHandle.AccessMode, MethodType) - Static method in class java.lang.invoke.MethodHandles
Produces a special invoker method handle which can be used to invoke a signature-polymorphic access mode method on any VarHandle whose associated access mode type is compatible with the given type.
version() - Method in class java.lang.module.ModuleDescriptor
Returns the module version.
version(ModuleDescriptor.Version) - Method in class java.lang.module.ModuleDescriptor.Builder
Sets the module version.
version(String) - Method in class java.lang.module.ModuleDescriptor.Builder
Sets the module version.
visit(Element) - Method in interface javax.lang.model.element.ElementVisitor
A convenience method equivalent to visit(e, null).
visit(Element) - Method in class javax.lang.model.util.AbstractElementVisitor6
Visits any program element as if by passing itself to that element's accept method and passing null for the additional parameter.
visit(Element, P) - Method in interface javax.lang.model.element.ElementVisitor
Visits an element.
visit(Element, P) - Method in class javax.lang.model.util.AbstractElementVisitor6
Visits any program element as if by passing itself to that element's accept method.
visit(ModuleElement.Directive) - Method in interface javax.lang.model.element.ModuleElement.DirectiveVisitor
Visits any directive as if by passing itself to that directive's accept method and passing null for the additional parameter.
visit(ModuleElement.Directive, P) - Method in interface javax.lang.model.element.ModuleElement.DirectiveVisitor
Visits any directive as if by passing itself to that directive's accept method.
visitExecutable(ExecutableElement, P) - Method in interface javax.lang.model.element.ElementVisitor
Visits an executable element.
visitExports(ModuleElement.ExportsDirective, P) - Method in interface javax.lang.model.element.ModuleElement.DirectiveVisitor
Visits an exports directive.
visitModule(ModuleElement, P) - Method in interface javax.lang.model.element.ElementVisitor
NEW Visits a module element.
visitModule(ModuleElement, P) - Method in class javax.lang.model.util.AbstractElementVisitor6
NEW Visits a module element.
visitModule(ModuleElement, P) - Method in class javax.lang.model.util.AbstractElementVisitor9
Visits a ModuleElement in a manner defined by a subclass.
visitModule(ModuleElement, P) - Method in class javax.lang.model.util.ElementKindVisitor9
Visits a ModuleElement by calling defaultAction.
visitModule(ModuleElement, P) - Method in class javax.lang.model.util.ElementScanner9
Visits a ModuleElement by scanning the enclosed elements.
visitModule(ModuleElement, P) - Method in class javax.lang.model.util.SimpleElementVisitor9
Visits a ModuleElement by calling defaultAction.
visitOpens(ModuleElement.OpensDirective, P) - Method in interface javax.lang.model.element.ModuleElement.DirectiveVisitor
Visits an opens directive.
visitPackage(PackageElement, P) - Method in interface javax.lang.model.element.ElementVisitor
Visits a package element.
visitProvides(ModuleElement.ProvidesDirective, P) - Method in interface javax.lang.model.element.ModuleElement.DirectiveVisitor
Visits a provides directive.
visitRequires(ModuleElement.RequiresDirective, P) - Method in interface javax.lang.model.element.ModuleElement.DirectiveVisitor
Visits a requires directive.
visitType(TypeElement, P) - Method in interface javax.lang.model.element.ElementVisitor
Visits a type element.
visitTypeParameter(TypeParameterElement, P) - Method in interface javax.lang.model.element.ElementVisitor
Visits a type parameter element.
visitUnknown(Element, P) - Method in interface javax.lang.model.element.ElementVisitor
Visits an unknown kind of element.
visitUnknown(Element, P) - Method in class javax.lang.model.util.AbstractElementVisitor6
Visits an unknown kind of element.
visitUnknown(ModuleElement.Directive, P) - Method in interface javax.lang.model.element.ModuleElement.DirectiveVisitor
Visits an unknown directive.
visitUses(ModuleElement.UsesDirective, P) - Method in interface javax.lang.model.element.ModuleElement.DirectiveVisitor
Visits a uses directive.
visitVariable(VariableElement, P) - Method in interface javax.lang.model.element.ElementVisitor
Visits a variable element.

W

WILDCARD - javax.lang.model.type.TypeKind
A wildcard type argument.
whileLoop(MethodHandle, MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
Constructs a while loop from an initializer, a body, and a predicate.

Z

zero(Class<?>) - Static method in class java.lang.invoke.MethodHandles
Produces a constant method handle of the requested return type which returns the default value for that type every time it is invoked.
A B C D E F G H I J K L M N O P R S T U V W Z 
Skip navigation links
Java Platform Module System
Final Release Specification

Copyright © 1993, 2017, Oracle and/or its affiliates · All rights reserved · License