if (callExpr.getScope() != null) {
boolean staticCall = false;
if (callExpr.getScope() instanceof NameExpr) {
NameExpr nameExpr = (NameExpr) callExpr.getScope();
try {
<BUG>JavaParserFactory.getContext(nameExpr, typeSolver).solveType(nameExpr.getName(), typeSolver);
</BUG>
staticCall = true;
} catch (Exception e) {
}

if (callExpr.getScope() != null) {
boolean staticCall = false;
if (callExpr.getScope() instanceof NameExpr) {
NameExpr nameExpr = (NameExpr) callExpr.getScope();
try {
JavaParserFactory.getContext(nameExpr, typeSolver).solveType(nameExpr.getName().getId(), typeSolver);
staticCall = true;
} catch (Exception e) {
