test_class.file: services/src/test/java/com/greensopinion/finance/services/transaction/EntityReferencesTest.java
test_class.identifier: EntityReferencesTest
test_case.body: @Test
  	public void namedEntityToString() {
  		assertNamedEntityToString("&", "amp");
  		assertNamedEntityToString("≶", "LessGreater");
  		assertNamedEntityToString("Ã", "#195");
  	}
test_case.class_method_signature: EntityReferencesTest.namedEntityToString()
test_case.full_signature: @Test public void namedEntityToString()
test_case.identifier: namedEntityToString
test_case.invocations: assertNamedEntityToString assertNamedEntityToString assertNamedEntityToString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void namedEntityToString()
focal_class.declarator: instance = new EntityReferences()
focal_class.modifier: private static
focal_class.original_string: private static EntityReferences instance = new EntityReferences();
focal_class.type: EntityReferences
focal_class.var_name: instance
focal_class.declarator: nameToNumericEntityReferences
focal_class.modifier: private final
focal_class.original_string: private final ListMultimap<String, String> nameToNumericEntityReferences;
focal_class.type: ListMultimap<String, String>
focal_class.var_name: nameToNumericEntityReferences
focal_class.file: services/src/main/java/com/greensopinion/finance/services/transaction/EntityReferences.java
focal_class.identifier: EntityReferences
focal_class.class_method_signature: EntityReferences.readEntityReferences()
focal_class.full_signature: private static ListMultimap<String, String> readEntityReferences()
focal_class.identifier: readEntityReferences
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: ListMultimap<String, String>
focal_class.signature: ListMultimap<String, String> readEntityReferences()
focal_class.class_method_signature: EntityReferences.instance()
focal_class.full_signature: public static EntityReferences instance()
focal_class.identifier: instance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: EntityReferences
focal_class.signature: EntityReferences instance()
focal_class.class_method_signature: EntityReferences.EntityReferences()
focal_class.full_signature: private  EntityReferences()
focal_class.identifier: EntityReferences
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  EntityReferences()
focal_class.class_method_signature: EntityReferences.nameToEntityReferences(String name)
focal_class.full_signature: public List<String> nameToEntityReferences(String name)
focal_class.identifier: nameToEntityReferences
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: List<String>
focal_class.signature: List<String> nameToEntityReferences(String name)
focal_class.class_method_signature: EntityReferences.namedEntityToString(String name)
focal_class.full_signature: public String namedEntityToString(String name)
focal_class.identifier: namedEntityToString
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String namedEntityToString(String name)
focal_method.body: public String namedEntityToString(String name) {
  		if (Strings.isNullOrEmpty(name)) {
  			return "";
  		}
  		String s = "";
  		List<String> entityReferences = nameToEntityReferences(name);
  		if (entityReferences.isEmpty() && name.startsWith("#")) {
  			entityReferences = ImmutableList.of(name);
  		}
  		for (String reference : entityReferences) {
  			try {
  				char c = (char) Integer.parseInt(reference.substring(1));
  				s += c;
  			} catch (NumberFormatException e) {
  				// ignore
  			}
  		}
  		return s;
  	}
focal_method.class_method_signature: EntityReferences.namedEntityToString(String name)
focal_method.full_signature: public String namedEntityToString(String name)
focal_method.identifier: namedEntityToString
focal_method.invocations: isNullOrEmpty nameToEntityReferences isEmpty startsWith of parseInt substring
focal_method.modifiers: public
focal_method.parameters: (String name)
focal_method.return: String
focal_method.signature: String namedEntityToString(String name)