@PatchMethod static String get(Dictionary dictionary, String key) { Map<String, String> entries = DictionaryUtils.getEntries(dictionary); return entries.get(key); }
@PatchMethod static void addValues(Dictionary dictionary, ArrayList<String> s) { Map<String, String> entries = DictionaryUtils.getEntries(dictionary); s.addAll(entries.values()); }
@PatchMethod static void attach(Dictionary dictionary, String name) { DictionaryUtils.attach(dictionary, name); }
@PatchMethod static void addKeys(Dictionary dictionary, HashSet<String> s) { Map<String, String> entries = DictionaryUtils.getEntries(dictionary); s.addAll(entries.keySet()); }