// "Create Method 'bar'" "true" public class Test { void foo (T t1, T t2) { bar (t1, t2); } private void bar(T t1, T t2) { //To change body of created methods use File | Settings | File Templates. } }