ChildAttributes (final int newChildIndex) { if (myChildAttributes != null) { return myChildAttributes; } else { Alignment alignment = null; if (mySubBlocks.size() > newChildIndex) { Block block = mySubBlocks.get(newChildIndex); alignment = block.getAlignment(); } else if (mySubBlocks.size() == newChildIndex) { if (isRParenth(getRightMostBlock())) { alignment = getDotAlignment(); } } return new ChildAttributes(getIndent(), alignment); } }