InternalClassTransformationImpl can't find inherited class methods.
-------------------------------------------------------------------
Key: TAPESTRY-1521
URL: https://issues.apache.org/jira/browse/TAPESTRY-1521
Project: Tapestry
Issue Type: Bug
Affects Versions: 5.0.4, 5.0.3, 5.0.5
Reporter: Jun Tsai
InternalClassTransformationImpl use getDeclaredMethods() to find all methods.
but in javassist javadoc pages
I find:
public CtMethod[] getDeclaredMethods()
Gets all methods declared in the class. The inherited methods are not
included.
public CtMethod[] getMethods()
Returns an array containing CtMethod objects representing all the
non-private methods of the class. That array includes pon-private methods
inherited from the superclasses.
I think InternalClassTransformationImpl can use CtClass.getMethods() method to
find all methods (include inherited methods.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]