code: protected String makeVariableString(VariableElement e) {
          StringBuilder result = new StringBuilder();
          for (Modifier modifier : e.getModifiers()) {
              result.append(modifier.toString());
              result.append(" ");
          }
          result.append(e.asType().toString());
          result.append(" ");
          result.append(e.toString());
          Object value = e.getConstantValue();
          if (value != null) {
              result.append(" = ");
              if (e.asType().toString().equals("char")) {
                  int v = (int)value.toString().charAt(0);
                  result.append("'\\u"+Integer.toString(v,16)+"'");
              } else {
                  result.append(value.toString());
              }
          }
          return result.toString();
      }
docs: Creates a String representation of a variable element with everything
  necessary to track all public aspects of it in an API.
  @param e Element to create String for.
  @return String representation of element.