public class QualifiedJClassRef extends 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.
| Modifier and Type | Method and Description |
|---|---|
static JClassRef |
create(JClass clazz)
Creates a new JClassRef for a qualified class or type name.
|
static JClassRef |
create(String qcname,
JamClassLoader cl)
Creates a new JClassRef for a qualified class or type name.
|
static JClassRef |
create(String qcname,
JClassRefContext ctx)
Creates a new JClassRef for a qualified class or type name.
|
String |
getQualifiedName() |
JClass |
getRefClass() |
String |
toString() |
public static JClassRef create(JClass clazz)
public static JClassRef create(String qcname, JClassRefContext ctx)
public static JClassRef create(String qcname, JamClassLoader cl)
public JClass getRefClass()
getRefClass in interface JClassRefpublic String getQualifiedName()
getQualifiedName in interface JClassRefCopyright © 2010 - 2020 Adobe. All Rights Reserved