public final class ClassProxy
extends java.lang.Object
Constructor and Description |
---|
ClassProxy(org.java.plugin.registry.Extension extension) |
ClassProxy(java.lang.String className,
java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Two
ClassProxy instances are considered equal if
they both refer to the same Class as by their
className field and both use the same ClassLoader
to load the final object. |
java.lang.ClassLoader |
getClassLoader() |
java.lang.String |
getClassName() |
java.lang.Object |
getProperty(java.lang.String key) |
int |
hashCode() |
java.lang.Class<?> |
loadClass() |
java.lang.Object |
loadObject() |
java.lang.Object |
loadObjectUnsafe() |
void |
setProperty(java.lang.String key,
java.lang.Object value) |
java.lang.String |
toString() |
public ClassProxy(java.lang.String className, java.lang.ClassLoader classLoader)
public ClassProxy(org.java.plugin.registry.Extension extension)
public java.lang.Object loadObject()
public java.lang.Class<?> loadClass() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.lang.Object loadObjectUnsafe() throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
ClassProxy
instances are considered equal if
they both refer to the same Class
as by their
className
field and both use the same ClassLoader
to load the final object.equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.Object getProperty(java.lang.String key)
public void setProperty(java.lang.String key, java.lang.Object value)
public java.lang.String getClassName()
public java.lang.ClassLoader getClassLoader()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()