code: private boolean hasConstantField (TypeElement typeElement) {
          VisibleMemberMap visibleMemberMapFields = configuration.getVisibleMemberMap(typeElement,
              VisibleMemberMap.Kind.FIELDS);
          List<Element> fields = visibleMemberMapFields.getLeafMembers();
          for (Element f : fields) {
              VariableElement field = (VariableElement)f;
              if (field.getConstantValue() != null) {
                  typeElementsWithConstFields.add(typeElement);
                  return true;
              }
          }
          return false;
      }
docs: Return true if the given class has constant fields to document.
  
  @param typeElement the class being checked.
  @return true if the given package has constant fields to document.