You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Daniel Augusto Veronezi Salvador (Jira)" <ji...@apache.org> on 2021/06/02 18:30:00 UTC

[jira] [Created] (LANG-1662) Create flow to only reflect selected fields on ReflectToStringBuilder

Daniel Augusto Veronezi Salvador created LANG-1662:
------------------------------------------------------

             Summary: Create flow to only reflect selected fields on ReflectToStringBuilder
                 Key: LANG-1662
                 URL: https://issues.apache.org/jira/browse/LANG-1662
             Project: Commons Lang
          Issue Type: Improvement
          Components: lang.builder.*
            Reporter: Daniel Augusto Veronezi Salvador


*ReflectionToStringBuilder* has methods to exclude fields from *toString*; If we have an object with several fields and want to reflect only a fews, we have to list all the fields that we don't want to reflect and pass to *excludeFieldNames*.

Would be valid implement a way to pass the fields that we want and reflect only the selected fields?

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)