Class QualifiedJClassRef

  • All Implemented Interfaces:
    JClassRef

    public class QualifiedJClassRef
    extends java.lang.Object
    implements JClassRef

    Reference to a JClass by qualified name which is resolved lazily. Note that resolved references are not cached, which makes it more likely that a JClasses will become available for garbage collection. The performance hit here is probably not significant, but someday we might want to provide switch to enable caching of references.

    • Method Detail

      • create

        public static JClassRef create​(JClass clazz)
        Creates a new JClassRef for a qualified class or type name.
      • create

        public static JClassRef create​(java.lang.String qcname,
                                       JClassRefContext ctx)
        Creates a new JClassRef for a qualified class or type name.
      • create

        public static JClassRef create​(java.lang.String qcname,
                                       JamClassLoader cl)
        Creates a new JClassRef for a qualified class or type name.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object