public class A { T t = new T(); public void method() { System.out.println("A.method() running"); t.m1(); } }