[jboss-jira] [JBoss JIRA] Commented: (JASSIST-48) Create a common interface to MethodCall & NewExpr

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Wed Mar 19 09:20:51 EDT 2008


    [ http://jira.jboss.com/jira/browse/JASSIST-48?page=comments#action_12403575 ] 
            
Shigeru Chiba commented on JASSIST-48:
--------------------------------------

Do we really need such a fine grained type hierarchy?

> Create a common interface to MethodCall & NewExpr
> -------------------------------------------------
>
>                 Key: JASSIST-48
>                 URL: http://jira.jboss.com/jira/browse/JASSIST-48
>             Project: Javassist
>          Issue Type: Feature Request
>            Reporter: Guy Korland
>         Assigned To: Shigeru Chiba
>
> MethodCall & NewExpr both have common methods that are not part of the javassist.expr.Expr interface.
> public String getClassName()
> public String getSignature()
> suggested API:
> abstract public class Invoke extends Expr{
>    abstract  public String getClassName();
>    abstract  public String getSignature();
> }
> public class MethodCall extends Invoke
> public class NewExpr extends Invoke

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list