[weld-issues] [JBoss JIRA] Commented: (WELD-374) Provide sane toString() for classes

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Wed Mar 24 17:26:43 EDT 2010


    [ https://jira.jboss.org/jira/browse/WELD-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12521890#action_12521890 ] 

Nicklas Karlsson commented on WELD-374:
---------------------------------------

Could you provide an example class and what the output should be for the class/field/method/constructor?

> Provide sane toString() for classes
> -----------------------------------
>
>                 Key: WELD-374
>                 URL: https://jira.jboss.org/jira/browse/WELD-374
>             Project: Weld
>          Issue Type: Feature Request
>            Reporter: Pete Muir
>            Assignee: Nicklas Karlsson
>            Priority: Critical
>             Fix For: 1.0.2.CR1
>
>
> Currently these vary in quality, some providing good info (e.g. WeldClassImpl), some too little (e.g. WeldFieldImpl) and some are just crazy.
> In general, the approach should be to delegate the toString to the Names class (see toString(Class<?> rawType, Set<Annotation> annotations, Type[] actualTypeArguments) for a good one).

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

        


More information about the weld-issues mailing list