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