Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1662

Let ReflectionToStringBuilder only reflect given field names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.13.0
    • lang.builder.*
    • None

    Description

      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?

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gutoveronezi Daniel Augusto Veronezi Salvador
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 6h
                6h
                Remaining:
                Time Spent - 3h 50m Remaining Estimate - 2h 10m
                2h 10m
                Logged:
                Time Spent - 3h 50m Remaining Estimate - 2h 10m
                3h 50m