246247248249250251252253254255256
prevN = n; n = n.getParent(); } //A locally defined type is definitely not what's targeted so it could still be our wanted type reference. Let's check imports. if (wantedPkg.isEmpty()) return cu == null || cu.rawPackageDeclaration() == null; return true; } private String stripGenerics(String name) {