if (method.isSolved()) {
return method;
}
} else if (importDecl instanceof SingleStaticImportDeclaration) {
SingleStaticImportDeclaration staticImportOnDemandDeclaration = (SingleStaticImportDeclaration) importDecl;
<BUG>String importedTypeName = staticImportOnDemandDeclaration.getType().getName();
</BUG>
String qName = importedTypeName + "." + staticImportOnDemandDeclaration.getStaticMember();
if (qName.equals(name) || qName.endsWith("." + name)) {
String typeName = getType(qName);

if (method.isSolved()) {
return method;
}
} else if (importDecl instanceof SingleStaticImportDeclaration) {
SingleStaticImportDeclaration staticImportOnDemandDeclaration = (SingleStaticImportDeclaration) importDecl;
String importedTypeName = staticImportOnDemandDeclaration.getType().getNameAsString();
String qName = importedTypeName + "." + staticImportOnDemandDeclaration.getStaticMember();
if (qName.equals(name) || qName.endsWith("." + name)) {
String typeName = getType(qName);
