class MyTest { static void m(Ref commentRef) { commentRef = coalesce(commentRef, commentRef); } static T coalesce(T t1, T t2) { return t1; } static class Ref { } }