boolean shouldReportMissingMember_propagated = !shouldReportMissingMember_static && enableHints
&& shouldReportMissingMember(propagatedType, propagatedMethod)
&& !memberFoundInSubclass(propagatedType.getElement(), methodName, true, false);
if (shouldReportMissingMember_static || shouldReportMissingMember_propagated) {
Token leftBracket = node.getLeftBracket();
Token rightBracket = node.getRightBracket();
ErrorCode errorCode = shouldReportMissingMember_static
? StaticTypeWarningCode.UNDEFINED_OPERATOR : HintCode.UNDEFINED_OPERATOR;
if (leftBracket == null || rightBracket == null) {
if (doesntHaveProxy(shouldReportMissingMember_static ? staticType.getElement()
: propagatedType.getElement())) {
resolver.reportErrorForNode(errorCode, node, methodName, shouldReportMissingMember_static
? staticType.getDisplayName() : propagatedType.getDisplayName());
}
} else {
int offset = leftBracket.getOffset();
int length = rightBracket.getOffset() - offset + 1;
if (doesntHaveProxy(shouldReportMissingMember_static ? staticType.getElement()
: propagatedType.getElement())) {
resolver.reportErrorForOffset(
errorCode,
offset,