Package com.sun.ts.lib.util.sec.misc
Interface JavaLangAccess
public interface JavaLangAccess
-
Method Summary
Modifier and TypeMethodDescriptionvoid
blockedOn
(Thread t, Interruptible b) Set thread's blocker field.getAnnotationType
(Class klass) Get the AnnotationType instance corresponding to this class.getConstantPool
(Class klass) Return the constant pool for a class.<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.void
setAnnotationType
(Class klass, AnnotationType annotationType) Set the AnnotationType instance corresponding to this class.
-
Method Details
-
getConstantPool
Return the constant pool for a class. -
setAnnotationType
Set the AnnotationType instance corresponding to this class. (This method only applies to annotation types.) -
getAnnotationType
Get the AnnotationType instance corresponding to this class. (This method only applies to annotation types.) -
blockedOn
Set thread's blocker field.
-