private ClassParser classParser = new ClassParser();
public PackageContainer parse(String packagetoParse, PluginFactory factory) {
log.debug("Parsing package {}", packagetoParse);
PackageContainer res = new PackageContainer();
res.setName(packagetoParse);
List<AnnotatedClass> classes = res.getClasses();
Set<Class<?>> packClasses = new HashSet<Class<?>>();
try {
ClassPath classpath = ClassPath.from(Thread.currentThread()
.getContextClassLoader()); // scans the class path used by
// classloader