Skip to content

Examine all the things #14

Open
Open
@lucko

Description

@lucko

Follow on from #2

It would be cool if you were able to pass "any old" java object and have it output useful info.

Of course, you can't always control the classes you work with, so it may not be feasible to add @Examine annotations or implement Examinable.

If the library could take a class & access it's fields through reflection, then format recursively, that would be neat.

Kinda in the same way that you can give pretty much anything to Gson and have it output sane-ish JSON.

Some customisation options / features that could be useful:

  • ignore/include transient
  • prevent infinite loops
  • max depth?
  • filter out specific field types? (e.g. tell the library to format a Location object but ignore any fields with the World type)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions