JqlFieldType (String name) { for (Map.Entry<JqlFieldType, Collection<String>> entry : TYPE_LOOKUP.entrySet()) { if (entry.getValue().contains(name)) { return entry.getKey(); } } return JqlFieldType.UNKNOWN; }