Exemplo n.º 1
0
 @Override
 public String toString() {
   return StringUtils.concat(
       "Enumeration[",
       StringUtils.join(rootEnum, ", "),
       (hasExceptionSpec() || additionalEnum != null ? ", " + "..." : ""),
       exceptionSpec != null ? " ! " + exceptionSpec : "",
       (additionalEnum != null ? ", " + StringUtils.join(additionalEnum, ", ") : ""),
       "]");
 }
Exemplo n.º 2
0
 @Override
 public String toString() {
   return components != null ? StringUtils.join(components, ".") : "null";
 }