private List<Class<? extends Module>> getIncludeList() {
// Look for @Modules(includes={..})
Builder<Class<? extends Module>> builder = ImmutableList.<Class<? extends Module>>builder();
if (type != null) {
Modules annot = type.getAnnotation(Modules.class);
if (annot != null && annot.include() != null) {
builder.add(annot.include());
}
// Look for injected modules
for (Dependency<?> dep : InjectionPoint.forConstructorOf(type).getDependencies()) {
Class<?> depType = dep.getKey().getTypeLiteral().getRawType();