Java 类com.intellij.psi.formatter.java.wrap.JavaWrapManager 实例源码

项目:consulo-java    文件:AbstractJavaBlock.java   
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;
}
项目:intellij-ce-playground    文件:AbstractJavaBlock.java   
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));
}
项目:intellij-ce-playground    文件:AbstractJavaBlock.java   
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);
}
项目:intellij-ce-playground    文件:AbstractJavaBlock.java   
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();
}
项目:intellij-ce-playground    文件:AbstractJavaBlock.java   
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;
}
项目:tools-idea    文件:AbstractJavaBlock.java   
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);
}
项目:tools-idea    文件:AbstractJavaBlock.java   
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);
}
项目:tools-idea    文件:AbstractJavaBlock.java   
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;
}
项目:consulo-java    文件:AbstractJavaBlock.java   
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));
}
项目:consulo-java    文件:AbstractJavaBlock.java   
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);
}
项目:consulo-java    文件:AbstractJavaBlock.java   
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();
}