String (String key) { for (Bin bin : getMembers()) { if (bin instanceof StringTableEntry entry && bin.getName().equals(key)) { return entry.getValue(); } } throw new IllegalStateException("Could not find string with key: " + key); }