String (@NonNls String referenceName) { if ("EMPTY_LIST".equals(referenceName)) { return "emptyList()"; } else if ("EMPTY_MAP".equals(referenceName)) { return "emptyMap()"; } else if ("EMPTY_SET".equals(referenceName)) { return "emptySet()"; } else { throw new AssertionError("unknown collections field name: " + referenceName); } }