public class JavaChildBlockWrapFactory
extends java.lang.Object
| Constructor and Description |
|---|
JavaChildBlockWrapFactory() |
| Modifier and Type | Method and Description |
|---|---|
Wrap |
create(ASTBlock block,
CommonCodeStyleSettings settings,
ReservedWrapsProvider reservedWrapsProvider)
Creates
wrap to be used with the children blocks of the the given block. |
public Wrap create(ASTBlock block, CommonCodeStyleSettings settings, ReservedWrapsProvider reservedWrapsProvider)
wrap to be used with the children blocks of the the given block.block - target block which sub-blocks should use wrap created by the current methodsettings - code formatting settings to consider during wrap constructionreservedWrapsProvider - reserved 'element type -> wrap instance' mappings provider. Note: this
argument is considered to be a part of legacy heritage and is intended to be removed as
soon as formatting code refactoring is done