Uses of Class java.lang.Class

Uses in package java.net

Methods with parameter type java.lang.Class

Object
URL.getContent(Class<T>[] classes)
Gets the contents of this URL
Object
Retrieves the content of this URLConnection
Object
This method reads from the InputStream of the passed in URL connection and uses the data downloaded to create an Object represening the content.

Uses in package javax.rmi.CORBA

Methods with parameter type java.lang.Class

String
This call is finally delegated to RMIClassLoader.getClassAnnotation(Class);
String
String
Get CORBA repository Id for the given java class.
boolean
Indicates that the given class is responsible itself for writing its content to the stream.
Object
Narrows the passed object to conform to the given interface or IDL type.
Serializable
ValueHandler.readValue(InputStream in, int offset, Class<T> clz, String repositoryID, RunTime sender)
Read value from the CORBA input stream in the case when the value is not Streamable or CustomMarshall'ed.

Methods with return type java.lang.Class

Class<T>
Util.loadClass(String className, String remoteCodebase, ClassLoader loader)
Load the class.
Class<T>
UtilDelegate.loadClass(String className, String remoteCodebase, ClassLoader loader)

Uses in package gnu.java.lang

Methods with parameter type java.lang.Class

Field[]
Get all the fields, public, private and otherwise, from the class, getting them from the most recent class to find them.
Method[]
Get all the methods, public, private and otherwise, from the class, getting them from the most recent class to find them.
String
Strip the package part from the class name.
String
Return the name of the class as written by the user.

Methods with return type java.lang.Class

Class<T>[]
Get all the classes loaded by the JVM.
Class<T>[]
Get all the classes loaded by a given class loader

Uses in package gnu.javax.crypto.jce

Methods with parameter type java.lang.Class

KeySpec

Uses in package gnu.java.lang.management

Constructors with parameter type java.lang.Class

Constructs a new BeanImpl.
Constructs a new MemoryManagerMXBeanImpl implementing the specified bean interface.

Uses in package gnu.classpath.jdwp.event

Constructors with parameter type java.lang.Class

ClassPrepareEvent.ClassPrepareEvent(Thread thread, Class<T> clazz, int flags)
Constructs a new ClassPrepareEvent
ExceptionEvent.ExceptionEvent(Throwable exception, Thread thread, Location location, Location catchLocation, Class<T> clazz, Object instance)
Constructs a new ExceptionEvent where the exception was caught.

Uses in package gnu.xml.pipeline

Constructors with parameter type java.lang.Class

Configures this pipeline terminus to use the specified implementation of DOM when constructing its result value.
Configures this consumer as a buffer/filter, using the specified DOM implementation when constructing its result value.

Uses in package gnu.javax.rmi.CORBA

Methods with parameter type java.lang.Class

String
Returns the codebase of the given class.
long
Get the persistent hash code for the given class, as defined by OMG standard.
String
Compute the repository id in the RMI hashed format.
Field[]
boolean
Checks if an instance of this class can write its fields itself.
Object
Narrow the given object to the instance of the given class.
Serializable
RmiUtilities.readValue(InputStream in, int offset, Class<T> clz, String repositoryID, RunTime sender)
Read value from the input stream in the case when the value is not Streamable or CustomMarshalled.

Methods with return type java.lang.Class

Class<T>
UtilDelegateImpl.loadClass(String className, String remoteCodebase, ClassLoader loader)
Load the class.

Uses in package gnu.javax.crypto.jce.key

Methods with parameter type java.lang.Class

KeySpec
Translate a SecretKey into a java.security.KeySpec.
KeySpec
Translate a SecretKey into a java.security.KeySpec.
KeySpec
Translate a SecretKey into a java.security.KeySpec.

Uses in package gnu.classpath.jdwp.id

Fields of type java.lang.Class

Class<T>
The object class that this id represents
Class<T>
The object class that this id represents
Class<T>
The object class that this id represents
Class<T>
The object class that this id represents
Class<T>
The object class that this id represents
Class<T>
The object class that this id represents
Class<T>
The object class that this id represents

Methods with return type java.lang.Class

Class<T>
Gets the Class object represented by this ID
Class<T>
Gets the class associated with this ID

Uses in package gnu.java.beans.encoder

Methods with parameter type java.lang.Class

void
ArrayPersistenceDelegate.initialize(Class<T> type, Object oldInstance, Object newInstance, Encoder out)
void
CollectionPersistenceDelegate.initialize(Class<T> type, Object oldInstance, Object newInstance, Encoder out)
void
MapPersistenceDelegate.initialize(Class<T> type, Object oldInstance, Object newInstance, Encoder out)
void
PrimitivePersistenceDelegate.initialize(Class<T> type, Object oldInstance, Object newInstance, Encoder out)

Uses in package gnu.javax.print

Constructors with parameter type java.lang.Class

PrintAttributeException.PrintAttributeException(Class<T>[] unsupportedAttributes, Attribute[] unsupportedValues)
Constructs a PrintAttributeException with the given unsupported attributes and/or values.
PrintAttributeException.PrintAttributeException(Exception e, Class<T>[] unsupportedAttributes, Attribute[] unsupportedValues)
Constructs a PrintAttributeException with the given unsupported attributes and/or values.
PrintAttributeException.PrintAttributeException(String s, Class<T>[] unsupportedAttributes, Attribute[] unsupportedValues)
Constructs a PrintAttributeException with the given unsupported attributes and/or values.
PrintAttributeException.PrintAttributeException(String s, Exception e, Class<T>[] unsupportedAttributes, Attribute[] unsupportedValues)
Constructs a PrintAttributeException with the given unsupported attributes and/or values.

Methods with parameter type java.lang.Class

Object
Overridden for CUPS specific handling of the media attribute.
Object
Overridden for CUPS specific handling of the media attribute.

Methods with return type java.lang.Class

Class<T>[]

Uses in package java.lang

Methods with parameter type java.lang.Class

Method
Class<T>._getMethod(String methodName, Class<T>[] args)

Methods with return type java.lang.Class

Class<T>[]
Get a list of all the classes currently executing methods on the Java stack. getClassContext()[0] is the currently executing method (ie. the class that CALLED getClassContext, not SecurityManager).

Uses in package gnu.java.rmi.server

Methods with parameter type java.lang.Class

void
void
void
Build the method has code table and put it into methods (mapping RMI hashcode tos method).
Remote
Export object and ensure it is present in the server activation table as well.
Class<T>
Return the class in the hierarchy for that the stub class is defined.
String
Returns a string representation of the network location where a remote endpoint can get the class-definition of the given class.
Object
Get the helper (assisting) class with the given type.
long
Object
void

Methods with return type java.lang.Class

Class<T>
Find the class with the given name.
Class<T>
Return the class in the hierarchy for that the stub class is defined.
Class<T>
RMIClassLoaderImpl.loadClass(String codeBase, String name, ClassLoader defaultLoader)
Class<T>
RMIClassLoaderImpl.loadProxyClass(String codeBase, String[] interfaces, ClassLoader defaultLoader)
Class<T>
Class<T>

Uses in package gnu.classpath.jdwp.value

Methods with parameter type java.lang.Class

Value
Create a value type for an Object of type determined by a Class.
Value
Creates a new Value of appropriate type for the value in the ByteBuffer by checking the type of the Class passed in.
Object
Get an untagged object from the ByteBuffer

Uses in package gnu.java.lang.reflect

Constructors with parameter type java.lang.Class

Methods with parameter type java.lang.Class

String
Gets the descriptor encoding for a class.
String
TypeSignature.getEncodingOfClass(Class<T> clazz, boolean descriptor)
Gets the descriptor encoding for a class.

Methods with return type java.lang.Class

Class<T>
Gets the Class object for a type name.
Class<T>
TypeSignature.getClassForEncoding(String type_code, boolean descriptor)
This function is the inverse of getEncodingOfClass.
Class<T>
TypeSignature.getClassForEncoding(String type_code, boolean descriptor, ClassLoader loader)
This function is the inverse of getEncodingOfClass.

Uses in package gnu.javax.crypto.jce.sig

Methods with parameter type java.lang.Class

KeySpec
AlgorithmParameterSpec

Uses in package java.beans.beancontext

Constructors with parameter type java.lang.Class

Create a new service available event.
Create a new service revoked event.

Fields of type java.lang.Class

Class<T>
The Class representing the service which is now available.
Class<T>
The Class representing the service which is now available.

Methods with parameter type java.lang.Class

boolean
Register a service to make it available to others.
boolean
Registers a new service from the specified service provider.
boolean
Registers a new service from the specified service provider.
boolean
BeanContextServicesSupport.BCSSServiceProvider
Provides a hook so that subclasses can replace the BeanContextServicesSupport.BCSSServiceProvider class, used to store registered service providers, with a subclass without replacing the addService(Class,BeanContextServiceProvider) method.
void
Sends a BeanContextServiceAvailableEvent to all registered listeners.
void
BeanContextServicesSupport.fireServiceRevoked(Class<T> serviceClass, boolean revokeNow)
Sends a BeanContextServiceRevokedEvent to all registered listeners.
Iterator<E>
Get a list of valid service selectors for the specified service class.
Iterator<E>
Iterator<E>
Get a list of valid service selectors for the specified service class.
Iterator<E>
Returns an iterator over the service selectors of the service provider for the given service.
Object
BeanContextServices.getService(BeanContextChild requestorChild, Object requestor, Class<T> serviceClass, Object serviceSelector, BeanContextServiceRevokedListener listener)
Get a service from this BeanContextServices.
Object
Retrieves the specified service.
Object
BeanContextServiceProvider.getService(BeanContextServices services, Object requestor, Class<T> serviceClass, Object serviceSelector)
Get a service.
Object
boolean
Tell whether the specified service class is available.
boolean
Returns true if the specified service is available.
boolean
Tell whether the revoked service class is the same as the specified class.
void
BeanContextServices.revokeService(Class<T> serviceClass, BeanContextServiceProvider provider, boolean revokeNow)
Make it so that no one else can use this service.
void
BeanContextServicesSupport.revokeService(Class<T> serviceClass, BeanContextServiceProvider bcsp, boolean revokeCurrentServicesNow)
Revokes the given service.

Methods with return type java.lang.Class

Class<T>
Get the newly available service class.
Class<T>
Get the revoked service class.

Uses in package gnu.java.security.jce.sig

Methods with parameter type java.lang.Class

KeySpec
KeySpec
KeySpec
AlgorithmParameterSpec

Uses in package gnu.classpath

Methods with parameter type java.lang.Class

ClassLoader
Retrieve the class's ClassLoader, or null if loaded by the bootstrap loader.

Methods with return type java.lang.Class

Class<T>
Get the class associated with the method invoking the method invoking this method, or null if the stack is not that deep (e.g., invoked via JNI invocation API).
Class<T>[]
Get a list of all the classes currently executing methods on the Java stack.

Uses in package java.awt.image.renderable

Methods with return type java.lang.Class

Class<T>[]

Uses in package gnu.classpath.jdwp

Constructors with parameter type java.lang.Class

VMMethod.VMMethod(Class<T> klass, long id)
Constructs a new VMMethod object.

Methods with parameter type java.lang.Class

MethodResult
VMVirtualMachine.executeMethod(Object obj, Thread thread, Class<T> clazz, VMMethod method, Value[] values, int options)
Executes a method in the virtual machine.
VMMethod[]
Returns all of the methods defined in the given class.
VMMethod
A factory method for getting valid virtual machine methods which may be passed to/from the debugger.
int
Returns the status of the given class
ReferenceTypeId
Gets the reference type id for the given class, creating a new one if it does not already have an id
String
Returns the source debug extension.
String
"Returns the name of source file in which a reference type was declared"
VMMethod
Returns a VMMethod from the ID in the byte buffer
void
VMVirtualMachine.redefineClasses(Class<T>[] types, byte[][] bytecodes)
Redefines the given types.

Methods with return type java.lang.Class

Class<T>
Returns the method's declaring class

Uses in package gnu.java.io

Methods with return type java.lang.Class

Class<T>
Overriden method to use the loadClass() method from the ClassLoader.

Uses in package javax.print

Methods with return type java.lang.Class

Class<T>[]
Returns the unsupported printing attribute classes for a print service that does not support the attribute category at all.

Uses in package gnu.gcj.runtime

Methods with return type java.lang.Class

Class<T>
Class<T>
Class<T>
Called for every class name that is needed but has not yet been defined by this classloader or one of its parents.
Class<T>
Finds (the first) class by name from one of the locations.

Uses in package java.lang.instrument

Methods with return type java.lang.Class

Class<T>[]
Get all the classes loaded by the JVM.
Class<T>[]
Get all the classes loaded by a given class loader

Uses in package gnu.CORBA

Methods with parameter type java.lang.Class

String
Convert the class name to IDL or RMI name (repository id).

Methods with return type java.lang.Class

Class<T>
Converts the given IDL name to class name and tries to load the matching class.
Class<T>
Find helper for the class with the given name.
Class<T>
Load the class with the given name.

Uses in package javax.imageio.spi

Constructors with parameter type java.lang.Class

ImageReaderSpi.ImageReaderSpi(String vendorName, String version, String[] names, String[] suffixes, String[] MIMETypes, String readerClassName, Class<T>[] inputTypes, String[] writerSpiNames, boolean supportsStandardStreamMetadataFormat, String nativeStreamMetadataFormatName, String nativeStreamMetadataFormatClassName, String[] extraStreamMetadataFormatNames, String[] extraStreamMetadataFormatClassNames, boolean supportsStandardImageMetadataFormat, String nativeImageMetadataFormatName, String nativeImageMetadataFormatClassName, String[] extraImageMetadataFormatNames, String[] extraImageMetadataFormatClassNames)
ImageWriterSpi.ImageWriterSpi(String vendorName, String version, String[] names, String[] suffixes, String[] MIMETypes, String writerClassName, Class<T>[] outputTypes, String[] readerSpiNames, boolean supportsStandardStreamMetadataFormat, String nativeStreamMetadataFormatName, String nativeStreamMetadataFormatClassName, String[] extraStreamMetadataFormatNames, String[] extraStreamMetadataFormatClassNames, boolean supportsStandardImageMetadataFormat, String nativeImageMetadataFormatName, String nativeImageMetadataFormatClassName, String[] extraImageMetadataFormatNames, String[] extraImageMetadataFormatClassNames)

Fields of type java.lang.Class

Class<T>[]
Class<T>[]
Class<T>[]
Class<T>[]

Methods with return type java.lang.Class

Class<T>[]
Class<T>[]

Uses in package javax.crypto

Methods with parameter type java.lang.Class

KeySpec
Translate a SecretKey into a java.security.KeySpec.
KeySpec
Get the key specification from a secret key.

Uses in package gnu.java.awt

Methods with parameter type java.lang.Class

Container
Returns the least ancestor of comp which is an instance of the specified class.

Uses in package gnu.javax.crypto.jce.params

Methods with parameter type java.lang.Class

AlgorithmParameterSpec

Uses in package gnu.java.beans

Methods with parameter type java.lang.Class

void
void
void

Uses in package gnu.classpath.jdwp.util

Methods with parameter type java.lang.Class

String
Computes the class signature, i.e., java.lang.String.class returns "Ljava/lang/String;".

Uses in package javax.rmi

Methods with parameter type java.lang.Class

Object
PortableRemoteObject.narrow(Object object, Class<T> narrowToInstaceOf)
Narrows the passed object to conform to the given interface or IDL type.

Uses in package gnu.java.net.loader

Methods with return type java.lang.Class

Class<T>
Returns a Class loaded by this URLLoader, or null when this loader either can't load the class or doesn't know how to load classes at all.
Class<T>
Returns a Class loaded by this URLLoader, or null when this loader either can't load the class or doesn't know how to load classes at all.

Uses in package gnu.java.beans.decoder

Methods with return type java.lang.Class

Class<T>

Uses in package gnu.awt.xlib

Methods with parameter type java.lang.Class

DragGestureRecognizer
XToolkit.createDragGestureRecognizer(Class<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)

Uses in package gnu.CORBA.CDR

Constructors with parameter type java.lang.Class

Create an IDLTypeHelper that works via given helper class.

Fields of type java.lang.Class

Class<T>
A helper class.

Methods with parameter type java.lang.Class

Object
VMVio.allocateObject(Class<T> clazz, Class<T> constr_clazz, Constructor<T> constructor)
Allocates a new Object of type clazz but without running the default constructor on it.
BoxedValueHelper
Get the helper that could write the given object, or null if no pre-defined helper available for this object.
BoxedValueHelper
Get the helper that could write the given object, or null if no pre-defined helper available for this object.
Object
Instantiate an instance of this class anyway; also in the case when it has no parameterless or any other constructor.
Serializable
Vio.read(InputStream input, Class<T> value_class)
Read the value base from the given input stream when the value base class is available.
Object
Read the object that is an instance of the given class.
Object
Delegates functionality to the underlying stream.
Object
Delegates functionality to the underlying stream.
Serializable
Try to read when having an unitialised value.
void
Vio.write(OutputStream output, Serializable value, Class<T> substitute)
Write the value base into the given stream, stating that it is an instance of the given class.