boolean (@Nullable GrOpenBlock block1, @Nullable GrOpenBlock block2) { if (block1 == null || block2 == null) return false; return ArrayUtil.areEqual(block1.getStatements(), block2.getStatements(), (s1, s2) -> statementsAreEquivalent(s1, s2)); }