private static final Spacing COMMON_SPACING = Spacing.createSpacing(1, 1, 0, true, 100);
private static final Spacing NO_NEWLINE = Spacing.createSpacing(1, 1, 0, false, 0);
public static Spacing getSpacing(Block child1, Block child2) {
if (!(child1 instanceof ClojureBlock) || !(child2 instanceof ClojureBlock)) return null;
ClojureBlock block1 = (ClojureBlock) child1;
ClojureBlock block2 = (ClojureBlock) child2;
ASTNode node1 = block1.getNode();
ASTNode node2 = block2.getNode();
IElementType type1 = node1.getElementType();
IElementType type2 = node2.getElementType();
final Spacing psiBased = psiBasedSpacing(node1.getPsi(), node2.getPsi());