int (T t2) { switch (t2) { case T.A -> System.out.println(1); case B -> System.out.println(2); case T.C -> System.out.println(3); }; return switch (t2) { case T.A -> 1; case B -> 1; case T.C -> 1; }; }