code: public static boolean hasConstructors(List<JCTree> trees) {
          for (List<JCTree> l = trees; l.nonEmpty(); l = l.tail)
              if (isConstructor(l.head)) return true;
          return false;
      }
docs: Is there a constructor declaration in the given list of trees?