final DartClass dartClass = PsiTreeUtil.getParentOfType(this, DartClass.class);
return dartClass == null ? DartClassResolveResult.EMPTY : dartClass.getSuperClassResolvedOrObjectClass();
}
if (this instanceof DartNewExpression || this instanceof DartConstConstructorExpression) {
final DartClassResolveResult result = DartResolveUtil.resolveClassByType(PsiTreeUtil.getChildOfType(this, DartType.class));
result.specialize(this);
return result;
}
if (this instanceof DartCallExpression) {
final DartExpression expression = ((DartCallExpression)this).getExpression();
final DartClassResolveResult leftResult = tryGetLeftResolveResult(expression);