Constructor and Description |
---|
CompiledClassReflector(java.lang.Class pClass)
Creates a new instance of
CompiledClassReflector ,
reading information from the given class. |
CompiledClassReflector(java.lang.String pName,
java.lang.ClassLoader pClassLoader)
Creates a new instance of
CompiledClassReflector ,
which loads the class named pName through
pClassLoader . |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getCompiledClass()
Returns the compiled class being used to gather information.
|
JavaSource |
getJavaSource(JavaSourceFactory pFactory)
Reads the interface methods and converts them
into an instance of
JavaSource . |
protected JavaMethod |
getMethod(JavaSource pSource,
java.lang.reflect.Method pMethod)
Converts the given
Method into an instance of
JavaSource . |
public CompiledClassReflector(java.lang.Class pClass)
CompiledClassReflector
,
reading information from the given class.pClass
- public CompiledClassReflector(java.lang.String pName, java.lang.ClassLoader pClassLoader) throws java.lang.ClassNotFoundException
CompiledClassReflector
,
which loads the class named pName
through
pClassLoader
.java.lang.ClassNotFoundException
protected JavaMethod getMethod(JavaSource pSource, java.lang.reflect.Method pMethod)
Converts the given Method
into an instance of
JavaSource
.
public java.lang.Class getCompiledClass()
public JavaSource getJavaSource(JavaSourceFactory pFactory)
JavaSource
.getJavaSource
in interface Reflector