Interface JavaLangAccess


public interface JavaLangAccess
  • Method Details

    • getConstantPool

      ConstantPool getConstantPool(Class klass)
      Return the constant pool for a class.
    • setAnnotationType

      void setAnnotationType(Class klass, AnnotationType annotationType)
      Set the AnnotationType instance corresponding to this class. (This method only applies to annotation types.)
    • getAnnotationType

      AnnotationType getAnnotationType(Class klass)
      Get the AnnotationType instance corresponding to this class. (This method only applies to annotation types.)
    • getEnumConstantsShared

      <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.
    • blockedOn

      void blockedOn(Thread t, Interruptible b)
      Set thread's blocker field.