public class LabeledJavaBlock extends AbstractJavaBlock
myAlignmentStrategy, myChildAlignment, myChildIndent, myIndentSettings, myJavaSettings, myReservedAlignment, myReservedAlignment2, mySettings, myUseChildAttributesEMPTY, myAlignment, myNode, myWrap| Constructor and Description |
|---|
LabeledJavaBlock(ASTNode node,
Wrap wrap,
Alignment alignment,
Indent indent,
CommonCodeStyleSettings settings,
JavaCodeStyleSettings javaSettings,
FormattingMode formattingMode) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Block> |
buildChildren() |
ChildAttributes |
getChildAttributes(int newChildIndex)
Returns the alignment and indent attributes which are applied to a new block inserted at
the specified position in the list of children of this block.
|
arrangeChildWrap, chooseAlignment, composeCodeBlock, createAlignment, createAlignment, createChildAlignment, createChildWrap, createCodeBlockBlock, createJavaBlock, createJavaBlock, createNormalIndent, createNormalIndent, getChildIndent, getCodeBlockChildExternalIndent, getCodeBlockExternalIndent, getCodeBlockInternalIndent, getFirstTreeNode, getFormattingMode, getIndent, getParentBlock, getReservedWrap, getSettings, getSpacing, getStrategyProvider, getTreeNode, getUsedAlignment, isAfter, isLeaf, isRBrace, isStatement, newJavaBlock, newJavaBlock, processChild, processChild, processChild, setParentBlock, setReservedWrapgetAlignment, getExtraRangesToFormat, getNode, getSubBlocks, getTextRange, getWrap, isBuildIndentsOnly, isIncomplete, setBuildIndentsOnly, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetElementType, getNode, getPsiElementgetDebugNamepublic LabeledJavaBlock(ASTNode node, Wrap wrap, Alignment alignment, Indent indent, CommonCodeStyleSettings settings, JavaCodeStyleSettings javaSettings, FormattingMode formattingMode)
protected java.util.List<Block> buildChildren()
buildChildren in class AbstractBlockpublic ChildAttributes getChildAttributes(int newChildIndex)
BlockgetChildAttributes in interface BlockgetChildAttributes in class AbstractJavaBlocknewChildIndex - the index where a new child is inserted.