ConfigurationFromContext (@NotNull ConfigurationContext context) { ConfigurationFromContext fromContext = super.createConfigurationFromContext(context); if (fromContext != null) { JavaRunConfigurationExtensionManager.getInstance().extendCreatedConfiguration((RunConfigurationBase)fromContext.getConfiguration(), context.getLocation()); } return fromContext; }