if (interfaces[i].getName().equals( "org.osgi.framework.BundleActivator"))
if (bundleActivatorClass.isAssignableFrom(Class.forName(interfaces[i].getName())))
    public boolean doesImplementActivatorBundle(String clname)    {        // parse class with javassist        CtClass clas;        try        {            clas = cpool.get(clname);	        CtClass[] interfaces = clas.getInterfaces();	        for (int i = 0; i < interfaces.length; i++) {	            if (interfaces[i].getName().equals(	                    "org.osgi.framework.BundleActivator"))	                    return true;;	        }        } catch (NotFoundException e)        {            return false;        }                return false;                }