void (VirtualFile file, String frameworkId, boolean value) { //belongs to other framework - do not override! String existingFrameworkId = getFrameworkIdOfBuildFile(file); if (!StringUtil.isEmpty(existingFrameworkId) && !frameworkId.equals(existingFrameworkId)) { return; } if (value) {//write framework forceBuildFile(file, frameworkId); } else { forceBuildFile(file, null); } }