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