181182183184185186187188189190191
assert input != null; Object obj = input.getValue().get(index); if (obj != null) { TypedSymbol sym = input.getKey(); assert sym.getType().isInstance(obj); return sym.withValue(obj); } else { return null; } } }).filter(Predicates.notNull())