static TripleRef tripleRef(T3 t, int position) { if (position == 0) ret TripleA(t); if (position == 1) ret TripleB(t); if (position == 2) ret TripleC(t); fail("crazy position"); }