01: package imp; 02: 03: import TestClass; 04: 05: /** 06: * Tests if we find stuff in allocation expressions 07: * 08: */ 09: public class Factory { 10: public Object createNew() { 11: return new TestClass(); 12: } 13: }