1 package test.net.sourceforge.pmd.typeresolution; 2 3 import java.util.*; 4 5 public class ClassWithImportOnDemand { 6 7 public List foo() { 8 return new ArrayList(); 9 } 10 }