protected AbstractJavaBlock(@NotNull final ASTNode node, final Wrap wrap, final Indent indent, @NotNull final CommonCodeStyleSettings settings, @NotNull JavaCodeStyleSettings javaSettings, final JavaWrapManager wrapManager, @NotNull final AlignmentStrategy alignmentStrategy) { super(node, wrap, createBlockAlignment(alignmentStrategy, node)); mySettings = settings; myJavaSettings = javaSettings; myIndentSettings = settings.getIndentOptions(); myIndent = indent; myWrapManager = wrapManager; myAlignmentStrategy = alignmentStrategy; }
protected AbstractJavaBlock(@NotNull final ASTNode node, final Wrap wrap, final Alignment alignment, final Indent indent, @NotNull final CommonCodeStyleSettings settings, @NotNull JavaCodeStyleSettings javaSettings) { this(node, wrap, indent, settings, javaSettings, JavaWrapManager.INSTANCE, AlignmentStrategy.wrap(alignment)); }
protected AbstractJavaBlock(@NotNull final ASTNode node, final Wrap wrap, @NotNull final AlignmentStrategy alignmentStrategy, final Indent indent, @NotNull final CommonCodeStyleSettings settings, @NotNull JavaCodeStyleSettings javaSettings) { this(node, wrap, indent, settings, javaSettings, JavaWrapManager.INSTANCE, alignmentStrategy); }
private AbstractJavaBlock(@NotNull ASTNode ignored, @NotNull CommonCodeStyleSettings commonSettings, @NotNull JavaCodeStyleSettings javaSettings) { super(ignored, null, null); mySettings = commonSettings; myJavaSettings = javaSettings; myIndentSettings = commonSettings.getIndentOptions(); myIndent = null; myWrapManager = JavaWrapManager.INSTANCE; myAlignmentStrategy = AlignmentStrategy.getNullStrategy(); }
protected AbstractJavaBlock(@NotNull final ASTNode node, final Wrap wrap, final Alignment alignment, final Indent indent, @NotNull final CommonCodeStyleSettings settings) { this(node, wrap, indent, settings, JavaWrapManager.INSTANCE, AlignmentStrategy.wrap(alignment), AlignmentInColumnsHelper.INSTANCE); }
protected AbstractJavaBlock(@NotNull final ASTNode node, final Wrap wrap, @NotNull final AlignmentStrategy alignmentStrategy, final Indent indent, @NotNull final CommonCodeStyleSettings settings) { this(node, wrap, indent, settings, JavaWrapManager.INSTANCE, alignmentStrategy, AlignmentInColumnsHelper.INSTANCE); }
protected AbstractJavaBlock(@NotNull final ASTNode node, final Wrap wrap, final Indent indent, @NotNull final CommonCodeStyleSettings settings, final JavaWrapManager wrapManager, @NotNull final AlignmentStrategy alignmentStrategy, AlignmentInColumnsHelper alignmentInColumnsHelper) { super(node, wrap, createBlockAlignment(alignmentStrategy, node)); mySettings = settings; myIndentSettings = settings.getIndentOptions(); myIndent = indent; myWrapManager = wrapManager; myAlignmentStrategy = alignmentStrategy; myAlignmentInColumnsHelper = alignmentInColumnsHelper; }