|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use Class |
|
Provides for system input and output through data streams,
serialization and the file system.
|
|
Provides classes that are fundamental to the design of the Java
programming language.
|
|
Provides library support for the Java programming language
annotation facility.
|
|
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.
|
Class<?> |
ObjectInputFilter.FilterInfo.serialClass()
The class of an object being deserialized.
|
protected Class<?> |
ObjectInputStream.resolveClass(ObjectStreamClass desc)
Load the local class equivalent of the specified stream class
description.
|
protected Class<?> |
ObjectInputStream.resolveProxyClass(String[] interfaces)
Returns a proxy class that implements the interfaces named in a proxy
class descriptor; subclasses may implement this method to read custom
data from the stream along with the descriptors for dynamic proxy
classes, allowing them to use an alternate loading mechanism for the
interfaces and the proxy class.
|
Class<?> |
ObjectStreamClass.forClass()
Return the class in the local VM that this version is mapped to.
|
Class<?> |
ObjectStreamField.getType()
Get the type of the field.
|
protected void |
ObjectOutputStream.annotateClass(Class<?> cl)
Subclasses may implement this method to allow class data to be stored in
the stream.
|
protected void |
ObjectOutputStream.annotateProxyClass(Class<?> cl)
Subclasses may implement this method to store custom data in the stream
along with descriptors for dynamic proxy classes.
|
static ObjectStreamClass |
Find the descriptor for a class that can be serialized.
|
static ObjectStreamClass |
Returns the descriptor for any class, regardless of whether it
implements Serializable.
|
static ObjectInputFilter |
Returns a filter that returns Status.ALLOWED if the predicate
on the class is true.
|
static ObjectInputFilter |
Returns a filter that returns Status.REJECTED if the predicate
on the class is true.
|
Create a Serializable field with the specified type.
|
|
Creates an ObjectStreamField representing a serializable field with the
given name and type.
|
class |
Class<T> extends Object implements Serializable, GenericDeclaration, Type, AnnotatedElement, TypeDescriptor.OfField<Class<?>>, Constable
Instances of the class Class represent classes and
interfaces in a running Java application.
|
Boolean.TYPE
The Class object representing the primitive type boolean.
|
|
Byte.TYPE
The Class instance representing the primitive type
byte.
|
|
Character.TYPE
The Class instance representing the primitive type
char.
|
|
Double.TYPE
The Class instance representing the primitive type
double.
|
|
Float.TYPE
The Class instance representing the primitive type
float.
|
|
Integer.TYPE
The Class instance representing the primitive type
int.
|
|
Long.TYPE
The Class instance representing the primitive type
long.
|
|
Short.TYPE
The Class instance representing the primitive type
short.
|
|
Void.TYPE
The Class object representing the pseudo-type corresponding to
the keyword void.
|
Class<?> |
Class.arrayType()
Returns a Class for an array type whose component type
is described by this Class.
|
Casts this Class object to represent a subclass of the class
represented by the specified class object.
|
|
Class<?> |
Class.componentType()
Returns the component type of this Class, if it describes
an array type, or null otherwise.
|
static Class<?> |
Returns the Class with the given
binary name in the given module.
|
static Class<?> |
Returns the Class object associated with the class or
interface with the given string name.
|
static Class<?> |
Returns the Class object associated with the class or
interface with the given string name, using the given class loader.
|
Class<?>[] |
Class.getClasses()
Returns an array containing Class objects representing all
the public classes and interfaces that are members of the class
represented by this Class object.
|
Class<?> |
Class.getComponentType()
Returns the Class representing the component type of an
array.
|
Class<?>[] |
Class.getDeclaredClasses()
Returns an array of Class objects reflecting all the
classes and interfaces declared as members of the class represented by
this Class object.
|
Class<?> |
Class.getDeclaringClass()
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.
|
Class<?> |
Class.getEnclosingClass()
Returns the immediately enclosing class of the underlying
class.
|
Class<?>[] |
Class.getInterfaces()
Returns the interfaces directly implemented by the class or interface
represented by this Class object.
|
Class<?> |
Class.getNestHost()
Returns the nest host of the nest to which the class
or interface represented by this Class object belongs.
|
Class<?>[] |
Class.getNestMembers()
Returns an array containing Class objects representing all the
classes and interfaces that are members of the nest to which the class
or interface represented by this Class object belongs.
|
Class<?>[] |
Class.getPermittedSubclasses()
Returns an array containing Class objects representing the
direct subinterfaces or subclasses permitted to extend or
implement this class or interface if it is sealed.
|
Class.getSuperclass()
Returns the Class representing the direct superclass of the
entity (class, interface, primitive type or void) represented by
this Class.
|
|
protected final Class<?> |
ClassLoader.defineClass(byte[] b, int off, int len)
|
protected final Class<?> |
ClassLoader.defineClass(String name, byte[] b, int off, int len)
Converts an array of bytes into an instance of class Class.
|
protected final Class<?> |
Converts an array of bytes into an instance of class Class,
with a given ProtectionDomain.
|
protected final Class<?> |
|
protected Class<?> |
Finds the class with the given binary name
in a module defined to this class loader.
|
protected Class<?> |
Finds the class with the specified binary name.
|
protected final Class<?> |
ClassLoader.findLoadedClass(String name)
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.
|
protected final Class<?> |
ClassLoader.findSystemClass(String name)
Finds a class with the specified binary name,
loading it if necessary.
|
Class<?> |
Loads the class with the specified binary name.
|
protected Class<?> |
Loads the class with the specified binary name.
|
Enum.getDeclaringClass()
Returns the Class object corresponding to this enum constant's
enum type.
|
|
EnumConstantNotPresentException.enumType()
Returns the type of the missing enum constant.
|
|
final Class<?> |
Object.getClass()
Returns the runtime class of this Object.
|
protected Class<?>[] |
SecurityManager.getClassContext()
Returns the current execution stack as an array of classes.
|
Class<?> |
StackWalker.getCallerClass()
Gets the Class object of the caller who invoked the method
that invoked getCallerClass.
|
Class<?> |
StackWalker.StackFrame.getDeclaringClass()
Gets the declaring Class for the method represented by
this stack frame.
|
Class.getTypeParameters()
Returns an array of TypeVariable objects that represent the
type variables declared by the generic declaration represented by this
GenericDeclaration object, in declaration order.
|
Casts this Class object to represent a subclass of the class
represented by the specified class object.
|
|
Returns this element's annotation for the specified type if
such an annotation is present, else null.
|
|
Returns annotations that are associated with this element.
|
|
Class.getConstructor(Class<?>... parameterTypes)
Returns a Constructor object that reflects the specified
public constructor of the class represented by this Class
object.
|
|
Returns this element's annotation for the specified type if
such an annotation is directly present, else null.
|
|
Returns this element's annotation(s) for the specified type if
such annotations are either directly present or
indirectly present.
|
|
Class.getDeclaredConstructor(Class<?>... parameterTypes)
Returns a Constructor object that reflects the specified
constructor of the class or interface represented by this
Class object.
|
|
Returns a Method object that reflects the specified
declared method of the class or interface represented by this
Class object.
|
|
Returns a Method object that reflects the specified public
member method of the class or interface represented by this
Class object.
|
|
boolean |
Returns true if an annotation for the specified type
is present on this element, else false.
|
boolean |
Class.isAssignableFrom(Class<?> cls)
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.
|
boolean |
Class.isNestmateOf(Class<?> c)
Determines if the given Class is a nestmate of the
class or interface represented by this Class object.
|
protected final void |
ClassLoader.resolveClass(Class<?> c)
Links the specified class.
|
protected final void |
Sets the signers of a class.
|
protected abstract T |
ClassValue.computeValue(Class<?> type)
Computes the given class's derived value for this ClassValue.
|
Returns the value for the given class.
|
|
void |
Removes the associated value for the given class.
|
static boolean |
Compiler.compileClass(Class<?> clazz)
Compiles the specified class.
|
Returns the enum constant of the specified enum class with the
specified name.
|
|
If the caller's module is this module then update this module to add a
service dependence on the given service type.
|
|
boolean |
Indicates if this module has a service dependence on the given service
type.
|
Returns this element's annotation for the specified type if
such an annotation is present, else null.
This method returns null when invoked on an unnamed module.
|
|
Returns this element's annotation for the specified type if
such an annotation is present, else null.
|
|
Returns annotations that are associated with this element.
|
|
Returns this element's annotation for the specified type if
such an annotation is directly present, else null.
|
|
Returns this element's annotation(s) for the specified type if
such annotations are either directly present or
indirectly present.
|
|
boolean |
Returns true if an annotation for the specified type
is present on this element, else false.
|
Constructs an EnumConstantNotPresentException for the
specified constant.
|
Uses of Class in java.lang.annotation |
Methods in java.lang.annotation that return Class |
|
Class<? extends Annotation> |
Annotation.annotationType()
Returns the annotation interface of this annotation.
|
Class<? extends Annotation> |
IncompleteAnnotationException.annotationType()
Returns the Class object for the annotation interface with the
missing element.
|
Constructors in java.lang.annotation with parameters of type Class |
|
Constructs an IncompleteAnnotationException to indicate that
the named element was missing from the specified annotation interface.
|
Annotation elements in java.lang.annotation that return Class |
|
Class<? extends Annotation>
|
Repeatable.value
Indicates the containing annotation interface for the
repeatable annotation interface.
|
Class<?> |
IllegalFormatConversionException.getArgumentClass()
Returns the class of the mismatched argument.
|
ServiceLoader.Provider.type()
Returns the provider type.
|
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
|
|
Copies the specified range of the specified array into a new array.
|
|
Returns a dynamically typesafe view of the specified collection.
|
|
Returns a dynamically typesafe view of the specified list.
|
|
Returns a dynamically typesafe view of the specified map.
|
|
Returns a dynamically typesafe view of the specified navigable map.
|
|
Returns a dynamically typesafe view of the specified navigable set.
|
|
Returns a dynamically typesafe view of the specified queue.
|
|
Returns a dynamically typesafe view of the specified set.
|
|
Returns a dynamically typesafe view of the specified sorted map.
|
|
Returns a dynamically typesafe view of the specified sorted set.
|
|
Creates an enum set containing all of the elements in the specified
element type.
|
|
Creates an empty enum set with the specified element type.
|
|
Creates a new service loader for the given service type, using the
current thread's context class loader.
|
|
Creates a new service loader for the given service.
|
|
Creates a new service loader for the given service type to load service
providers from modules in the given module layer and its ancestors.
|
|
Creates a new service loader for the given service type, using the
platform class loader.
|
Creates an empty enum map with the specified key type.
|
|
IllegalFormatConversionException(char c, Class<?> arg)
Constructs an instance of this class with the mismatched conversion and
the corresponding argument class.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |