- 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
-
- 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.
- 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 Locale
s 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 Package
s 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 String
s containing
formats to be used to load resource bundles for the given
baseName
.
- getGenericInterfaces() - Method in class java.lang.Class
-
Returns the Type
s 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
-
- getPackage(String) - Static method in class java.lang.Package
-
- 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 Package
s 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 Package
s 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
-
- 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.
- 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
-
- 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
-
- isModifiableModule(Module) - Method in interface java.lang.instrument.Instrumentation
-
- 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
-
- 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.