|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.description.java2wsdl.bytecode.ChainedParamReader
public class ChainedParamReader
Description: In ParamReader class, user cannot get inherited method parameter from the class they passed in for performance reasons This class is walks up the inheritance chain. If the method is not found in the derived class, search in super class. If not found in the immedidate super class, search super class's super class, until the root, which is java.lang.Object, is reached. This is not an eager load since it only start searching the super class when it is asked to.
Constructor Summary | |
---|---|
ChainedParamReader(java.lang.Class cls)
Processes a given class's parameter names. |
Method Summary | |
---|---|
java.lang.String[] |
getParameterNames(java.lang.reflect.Constructor ctor)
Returns the names of the declared parameters for the given constructor. |
java.lang.String[] |
getParameterNames(java.lang.reflect.Method method)
Returns the names of the declared parameters for the given method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainedParamReader(java.lang.Class cls) throws java.io.IOException
cls
- the class which user wants to get parameter info from
java.io.IOException
Method Detail |
---|
public java.lang.String[] getParameterNames(java.lang.reflect.Constructor ctor)
ctor
-
public java.lang.String[] getParameterNames(java.lang.reflect.Method method)
method
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |