package de.hpi.util.reflection;

import java.io.File;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.ServletContext;

import org.osgi.framework.BundleReference;

public class ClassFinder {

	/** Returns all classes of the specified package, who are subclasses of the given super class
	 * 
	 * @param <T>
	 * @param T superclass of results
	 * @param pckgname package to search in
	 * @return subclasses of the given super class in the given package
	 * @throws ClassNotFoundException
	 */
	@SuppressWarnings("unchecked")
	public static <T> List<Class<? extends T>> getClassesByPackageName(Class<T> superclass, String pckgname, ServletContext servletContext) throws ClassNotFoundException {
		throw new UnsupportedOperationException("Manipulating classes from folders is unsupported");
    }
}

@@ -30,78 +30,8 @@
 n;%0A%0A
-import java.io.File;%0Aimport java.net.URL;%0Aimport java.util.ArrayList;%0A
 impo
@@ -92,52 +92,8 @@
 t;%0A%0A
-import org.osgi.framework.BundleReference;%0A%0A
 publ

remove imports