}
@Nullable
@Override
protected PsiElement findAnchor(PsiElement element) {
DartCallExpression callExpression = PsiTreeUtil.getParentOfType(element, DartCallExpression.class);
assert callExpression != null;
DartExpression expression = callExpression.getExpression();
DartReference[] dartReferences = PsiTreeUtil.getChildrenOfType(expression, DartReference.class);
DartClass dartClass = dartReferences == null ? PsiTreeUtil.getParentOfType(element, DartClass.class)
: dartReferences[0].resolveDartClass().getDartClass();
return DartResolveUtil.getBody(dartClass);
}