org.apache.ws.jaxme.js.pattern

Class CompiledClassReflector

public class CompiledClassReflector extends Object implements Reflector

Reflector for gathering information on a compiled class.
Constructor Summary
CompiledClassReflector(Class pClass)
Creates a new instance of CompiledClassReflector, reading information from the given class.
CompiledClassReflector(String pName, ClassLoader pClassLoader)
Creates a new instance of CompiledClassReflector, which loads the class named pName through {@link ClassLoader pClassLoader}.
Method Summary
ClassgetCompiledClass()
Returns the compiled class being used to gather information.
JavaSourcegetJavaSource(JavaSourceFactory pFactory)
Reads the interface methods and converts them into an instance of {@link JavaSource}.
protected JavaMethodgetMethod(JavaSource pSource, Method pMethod)

Converts the given {@link Method} into an instance of {@link JavaSource}.

Constructor Detail

CompiledClassReflector

public CompiledClassReflector(Class pClass)
Creates a new instance of CompiledClassReflector, reading information from the given class.

Parameters: pClass

CompiledClassReflector

public CompiledClassReflector(String pName, ClassLoader pClassLoader)
Creates a new instance of CompiledClassReflector, which loads the class named pName through {@link ClassLoader pClassLoader}.

Method Detail

getCompiledClass

public Class getCompiledClass()
Returns the compiled class being used to gather information.

getJavaSource

public JavaSource getJavaSource(JavaSourceFactory pFactory)
Reads the interface methods and converts them into an instance of {@link JavaSource}.

getMethod

protected JavaMethod getMethod(JavaSource pSource, Method pMethod)

Converts the given {@link Method} into an instance of {@link JavaSource}.