private void analyzeLHS(Locals locals) { if (lhs instanceof AStoreable) { AStoreable lhs = (AStoreable) this.lhs; lhs.read = read; lhs.write = true; lhs.analyze(locals); } else { throw new IllegalArgumentException("Left-hand side cannot be assigned a value."); } }