private static boolean matchObjectAccess(@NotNull PsiClassObjectAccessExpression pattern,
                                           @NotNull PsiClassObjectAccessExpression candidate) {
    final PsiTypeElement operand1 = pattern.getOperand();
    final PsiTypeElement operand2 = candidate.getOperand();
    return operand1.getType().equals(operand2.getType());
  }
private static boolean matchObjectAccess(@NotNull PsiClassObjectAccessExpression pattern,
                                           @NotNull PsiClassObjectAccessExpression candidate)