AbstractBlock (final ASTNode node) { return new AbstractBlock(node, Wrap.createWrap(WrapType.NONE, false), Alignment.createAlignment()) { @Override protected List<Block> buildChildren() { return Collections.emptyList(); } @Override public Spacing getSpacing(final Block child1, final @NotNull Block child2) { return Spacing.getReadOnlySpacing(); } @Override public boolean isLeaf() { return true; } }; }