blob: 1eaf8a5ac0cccb224bdc8ac791df929d9fa20a17 [file] [log] [blame]
Andreas Wundsam20c73b62014-01-24 20:03:27 -08001 @Override
2 public String toString() {
3 StringBuilder b = new StringBuilder("${msg.name}(");
4 boolean first = true;
5 for(MatchField<?> field : getMatchFields()) {
6 if(first)
7 first = false;
8 else
9 b.append(", ");
10 String name = field.getName();
11 b.append(name).append('=').append(this.get(field));
12 if(isPartiallyMasked(field)) {
13 b.append('/').append(this.getMasked(field).getMask());
14 }
15 }
16 b.append(")");
17 return b.toString();
18 }