コード例 #1
0
ファイル: ExecutionEnvironment.java プロジェクト: jexp/idea2
 public ExecutionEnvironment(
     @NotNull final ProgramRunner runner,
     @NotNull final RunnerAndConfigurationSettings configuration,
     final DataContext context) {
   this(
       configuration.getConfiguration(),
       configuration.getRunnerSettings(runner),
       configuration.getConfigurationSettings(runner),
       context);
 }
コード例 #2
0
 private static void checkConfiguration(
     final ProgramRunner runner, final RunnerAndConfigurationSettings snapshot)
     throws RuntimeConfigurationException {
   final RunnerSettings runnerSettings = snapshot.getRunnerSettings(runner);
   final ConfigurationPerRunnerSettings configurationSettings =
       snapshot.getConfigurationSettings(runner);
   try {
     runner.checkConfiguration(runnerSettings, configurationSettings);
   } catch (AbstractMethodError e) {
     // backward compatibility
   }
 }