void (String name, String nsPrefix, String nsURI, String systemID, int lineNr) { if (rootTagProcessed.get()) return; for (String imported : imports) { if (imported.equals(name) || imported.endsWith("." + name)) { refQualifiedName.set(imported); break; } if (imported.endsWith(".*")) { String className = imported.substring(0, imported.length() - 1) + name; if (psiClassExists.test(className)) { refQualifiedName.set(className); break; } } } }