public boolean isLambdaTarget(JvmClass cls) {
    if (cls.isInterface()) {
      int amFound = 0;
      for (JvmMethod method : allMethodsRecursively(cls)) {
        if (method.isAbstract() && ++amFound > 1) {
          break;
        }
      }
      if (amFound == 1) {
        return true;
      }
    }
    return false;
  }
public boolean isLambdaTarget(JvmClass cls)