Implement CommandRef.toString() to help debugging

Change-Id: If3ebed08c8f4e2cc925a97dbdd4c84410bc7c4a5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2017-09-08 01:47:56 +02:00
parent c27f36dfc7
commit 52ed475211
1 changed files with 8 additions and 0 deletions

View File

@ -165,4 +165,12 @@ public TextBuiltin create() {
r.setCommandName(getName());
return r;
}
@SuppressWarnings("nls")
@Override
public String toString() {
return "CommandRef [impl=" + impl + ", name=" + name + ", usage="
+ CLIText.get().resourceBundle().getString(usage) + ", common="
+ common + "]";
}
}