Status: New
Owner: ----

New issue 794 by [email protected]: Injector toString helper util with more readable "report" than built-in massive one-liner InjectorImpl toString() ToStringBuilder
http://code.google.com/p/google-guice/issues/detail?id=794

I'm a Guice semi-NOOB, facing it by way of another framework which heavily uses it internally (see http://www.eclipse.org/Xtext/documentation.html#dependencyInjection).

I've had situations where I wanted to "better see what's inside a given Injector" (e.g. while Debugging), and thought a kind of readable mini "report" for this could be handy? It could also help to roll-out usage of Guice to more junior team members ("see, this is what it actually is..").

I've noticed that InjectorImpl's toString() ToStringBuilder does something like this, but (at least in my case) that just dump a useless massive 20k chars one liner... ;-)

I've started something like what I mean on https://gist.github.com/vorburger/8652290 - would finishing this off some other night to a usable 0.1 and proposing it as a contribution be of any interest and value to others? (Or if this a waste of time, because..? Absolutely no offense taken if you close this issue.)

PS: I've seen https://code.google.com/p/google-guice/wiki/Grapher, but that looks a little... heavy for what I was looking for - just a (readable) "dump". Should if this does already exist elsewhere.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to