import java.util.List;
-public interface ModularDeployedSystem extends DeployedSystem {
+@SuppressWarnings("unchecked")
+public interface ModularDeployedSystem<M extends Module> extends DeployedSystem {
/** List the underlying deployed modules (in real time) */
- public List<DeployedSystem> listModules();
+ public List<M> listModules();
}