Object (@NotNull String modelName, @NotNull Project project, @NotNull ModelBuilderContext context) { GradleTaskCache taskCache = GradleTaskCache.getInstance(context); Set<Task> projectTasks = collectProjectTasks(project, context); taskCache.setProjectTasks(project, projectTasks); return new GradleTaskModel() { }; }