public interface

JavaLangAccess

sun.misc.JavaLangAccess

Summary

Public Methods
abstract void blockedOn(Thread t, Interruptible b)
Set thread's blocker field.
abstract AnnotationType getAnnotationType(Class klass)
Get the AnnotationType instance corresponding to this class.
abstract ConstantPool getConstantPool(Class klass)
Return the constant pool for a class.
abstract <E extends Enum<E>> E[] getEnumConstantsShared(Class<E> klass)
Returns the elements of an enum class or null if the Class object does not represent an enum type; the result is uncloned, cached, and shared by all callers.
abstract void setAnnotationType(Class klass, AnnotationType annotationType)
Set the AnnotationType instance corresponding to this class.

Public Methods

public abstract void blockedOn (Thread t, Interruptible b)

Set thread's blocker field.

public abstract AnnotationType getAnnotationType (Class klass)

Get the AnnotationType instance corresponding to this class. (This method only applies to annotation types.)

public abstract ConstantPool getConstantPool (Class klass)

Return the constant pool for a class.

public abstract E[] getEnumConstantsShared (Class<E> klass)

Returns the elements of an enum class or null if the Class object does not represent an enum type; the result is uncloned, cached, and shared by all callers.

public abstract void setAnnotationType (Class klass, AnnotationType annotationType)

Set the AnnotationType instance corresponding to this class. (This method only applies to annotation types.)