boolean (@NotNull ApplicationConfiguration configuration, @NotNull ConfigurationContext context, @NotNull Ref<PsiElement> sourceElement) { boolean result = super.setupConfigurationFromContext(configuration, context, sourceElement); if (result) { configuration.setName("Foo"); configuration.setMainClassName("FooMain"); } return result; }