public boolean isCompatibleWithOriginalRunConfiguration(@NotNull ConfigurationType type) {
    return myRuntimeConfiguration == null || myRuntimeConfiguration.getType() == type;
  }
public boolean isCompatibleWithOriginalRunConfiguration(@NotNull ConfigurationType type)