code: static boolean isFunctionTypeDeclaration(JSDocInfo info) {
      return info.getParameterCount() > 0
          || info.hasReturnType()
          || info.hasThisType()
          || info.isConstructor()
          || info.isInterface()
          || info.isAbstract();
    }
docs: Determines whether the given JsDoc info declares a function type.