Integer idx;
if ((idx = sci.oTryGetLexicalIdx(sym)) != null)
ctx.oLex[idx] = readRef();
else if ((idx = sci.iTryGetLexicalIdx(sym)) != null)
ctx.iLex[idx] = orig.getLong();
else if ((idx = sci.nTryGetLexicalIdx(sym)) != null)
ctx.nLex[idx] = orig.getDouble();
else if ((idx = sci.sTryGetLexicalIdx(sym)) != null)
ctx.sLex[idx] = readStr();
else
throw new RuntimeException("Failed to deserialize lexical " + sym);