void (@NotNull TargetEnvironment environment, @NotNull TargetProgressIndicator targetProgressIndicator) { if (environment instanceof LocalTargetEnvironment) { super.handleCreatedTargetEnvironment(environment, targetProgressIndicator); } else { TargetedCommandLineBuilder targetedCommandLineBuilder = getTargetedCommandLine(); Objects.requireNonNull(targetedCommandLineBuilder.getUserData(MavenCommandLineSetup.getSetupKey())) .provideEnvironment(environment, targetProgressIndicator); } }