public boolean shouldRetry() {
    for (CompilerMessage message : myCompilerMessages) {
      String text = message.getMessageText();
      if (text.contains("java.lang.NoClassDefFoundError") ||
          text.contains("java.lang.TypeNotPresentException") ||
          text.contains("unable to resolve class")) {
        JpsGroovycRunner.LOG.debug("Resolve issue: " + message);
        return true;
      }
    }
    return false;
  }
public boolean shouldRetry()