@Override
protected void beforeInjectorCreation(@SuppressWarnings("unused") LifecycleInjectorBuilder builderToBeUsed) {
List<Class<? extends Annotation>> explorerGuiceAnnotations = Lists.newArrayList();
explorerGuiceAnnotations.add(ExplorerGuiceModule.class);
Collection<String> basePackages = getBasePackages();
ClasspathScanner classpathScanner = new ClasspathScanner(basePackages, explorerGuiceAnnotations);
List<Module> explorerGuiceModules = new ArrayList<Module>();
String jerseyPkgPath = "";
for (Class<?> explorerGuiceModuleClass : classpathScanner.getClasses()) {
try {
ExplorerGuiceModule guiceModAnnotation = explorerGuiceModuleClass.getAnnotation(ExplorerGuiceModule.class);
if (guiceModAnnotation.jerseyPackagePath() != null &&
! guiceModAnnotation.jerseyPackagePath().isEmpty()) {