spotify / missinglink

Build time tool for detecting link problems in java projects
Apache License 2.0
146 stars 27 forks source link

Add support for reachability analysis of DI-container-managed code #6

Open pettermahlen opened 9 years ago

pettermahlen commented 9 years ago

This could involve things like scanning classes (in all classpath entries) for @Inject annotations and implementations of Provider. See http://atinject.googlecode.com/svn/trunk/javadoc/javax/inject/package-summary.html for a description of JSR-330 (which is really very hard to find on the internets).

pettermahlen commented 9 years ago

From @mattnworb:

@petter: I like your idea for @Inject etc. Another simple workaround in addition could be to allow the user to specify additional classes to include in the reachable part, i.e. apollo.HttpServerModule