void ( @NotNull BuildController controller, @NotNull Model projectModel, @NotNull ProjectModelConsumer modelConsumer ) { T instance = controller.findModel(projectModel, modelClass); if (instance != null) { modelConsumer.consume(instance, modelClass); } }