String () { String result = myTemplateToken.getKey(); Map<String, String> attributes = myTemplateToken.getAttributes(); if (!attributes.isEmpty()) { result += attributes; } return "Template(" + result + ")"; }