PopupStep (final FrameworkType frameworkType, boolean finalChoice) { if (frameworkType == null) { return doFinalStep(() -> chooseDirectoryAndAdd(null)); } else { return addExcludedFramework(frameworkType); } }