[jira] Created: (QDOX-181) JavaMethod.getCallSignature() reports parameter names not types

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (QDOX-181) JavaMethod.getCallSignature() reports parameter names not types

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

JavaMethod.getCallSignature() reports parameter names not types
---------------------------------------------------------------

                 Key: QDOX-181
                 URL: http://jira.codehaus.org/browse/QDOX-181
             Project: QDox
          Issue Type: Bug
          Components: Java API
    Affects Versions: 1.9.2
            Reporter: Paul Hammant
            Assignee: Paul Hammant


JavaMethod.getCallSignature() returns the likes of ..

   setName(firstName, familyName)

should be ..

   setName(java.lang.String, java.lang.String)

Of course, we can't just change this, so lets do a new method:

JavaMethod.getCallSignatureWithTypes() // types and names
JavaMethod.getStrictJavaSignature()  // types only a la Java

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (QDOX-181) JavaMethod.getCallSignature() reports parameter names not types

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/QDOX-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193125#action_193125 ]

Robert Scholte commented on QDOX-181:
-------------------------------------

According to http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Method.html#toString() this is exactly what you want. This one has been implementented with QDOX-151, so I don't think these extra methods are required. Maybe some improvements on the documentation.

> JavaMethod.getCallSignature() reports parameter names not types
> ---------------------------------------------------------------
>
>                 Key: QDOX-181
>                 URL: http://jira.codehaus.org/browse/QDOX-181
>             Project: QDox
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 1.9.2
>            Reporter: Paul Hammant
>            Assignee: Paul Hammant
>
> JavaMethod.getCallSignature() returns the likes of ..
>    setName(firstName, familyName)
> should be ..
>    setName(java.lang.String, java.lang.String)
> Of course, we can't just change this, so lets do a new method:
> JavaMethod.getCallSignatureWithTypes() // types and names
> JavaMethod.getStrictJavaSignature()  // types only a la Java

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (QDOX-181) JavaMethod.getCallSignature() reports parameter names not types

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/QDOX-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193127#action_193127 ]

Paul Hammant commented on QDOX-181:
-----------------------------------

Actually I think getDeclarationSignature() is more what I want for my particular case.

    void setName(java.lang.String firstName, java.lang.String familytName)

Perhaps this can be closed w/o action.

> JavaMethod.getCallSignature() reports parameter names not types
> ---------------------------------------------------------------
>
>                 Key: QDOX-181
>                 URL: http://jira.codehaus.org/browse/QDOX-181
>             Project: QDox
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 1.9.2
>            Reporter: Paul Hammant
>            Assignee: Paul Hammant
>
> JavaMethod.getCallSignature() returns the likes of ..
>    setName(firstName, familyName)
> should be ..
>    setName(java.lang.String, java.lang.String)
> Of course, we can't just change this, so lets do a new method:
> JavaMethod.getCallSignatureWithTypes() // types and names
> JavaMethod.getStrictJavaSignature()  // types only a la Java

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (QDOX-181) JavaMethod.getCallSignature() reports parameter names not types

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/QDOX-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed QDOX-181.
-------------------------------

       Resolution: Won't Fix
    Fix Version/s: 1.11

> JavaMethod.getCallSignature() reports parameter names not types
> ---------------------------------------------------------------
>
>                 Key: QDOX-181
>                 URL: http://jira.codehaus.org/browse/QDOX-181
>             Project: QDox
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 1.9.2
>            Reporter: Paul Hammant
>            Assignee: Paul Hammant
>             Fix For: 1.11
>
>
> JavaMethod.getCallSignature() returns the likes of ..
>    setName(firstName, familyName)
> should be ..
>    setName(java.lang.String, java.lang.String)
> Of course, we can't just change this, so lets do a new method:
> JavaMethod.getCallSignatureWithTypes() // types and names
> JavaMethod.getStrictJavaSignature()  // types only a la Java

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email