@SuppressWarnings("unchecked")
	static <V extends JitVar> VarGen<V> lookup(V v) {
		return (VarGen<V>) switch (v) {
			case JitIndirectMemoryVar imv -> throw new AssertionError();
			case JitDirectMemoryVar dmv -> DirectMemoryVarGen.GEN;
			case JitInputVar iv -> InputVarGen.GEN;
			case JitMissingVar mv -> MissingVarGen.GEN;
			case JitMemoryOutVar mov -> MemoryOutVarGen.GEN;
			case JitLocalOutVar lov -> LocalOutVarGen.GEN;
			default -> throw new AssertionError();
		};
	}
Lookup the generator for a given p-code variable use-def node

@param <V> the class of the variable
@param v the {@link JitVar} whose generator to look up
@return the generator
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/emu/jit/gen/var/VarGen.java