return DartBundle.message("dart.create.operator.fix.name", myFunctionName);
}
@Override
protected boolean isAvailable(Project project, PsiElement element, Editor editor, PsiFile file) {
final DartOperatorExpressionImpl operatorExpression = PsiTreeUtil.getParentOfType(element, DartOperatorExpressionImpl.class);
final DartReference[] references = PsiTreeUtil.getChildrenOfType(operatorExpression, DartReference.class);
if (references == null || references[0].resolveDartClass().getDartClass() == null) return false;
final PsiElement anchor = findAnchor(element);
return anchor != null && !DartWritingAccessProvider.isInDartSdkOrDartPackagesFolder(anchor.getContainingFile());