List<File> () { List<File> result = new ArrayList<>(myInstanceLibraries); List<Class<?>> allRtClasses = new ArrayList<>(myRtClasses); allRtClasses.add(RemoteAgent.class); allRtClasses.add(Base64.class); allRtClasses.add(myAgentInterface); for (Class<?> clazz : allRtClasses) { result.add(new File(PathUtil.getJarPathForClass(clazz))); } result.addAll(myModuleDependencies); return result; }