Package org.eclipse.jdt.internal.formatter.align

Examples of org.eclipse.jdt.internal.formatter.align.Alignment


    }

    this.scribe.printComment(Scribe.PRESERVE_EMPTY_LINES_IN_STRING_LITERAL_CONCATENATION);
    ASTNode[] fragments = stringLiteral.literals;
    int fragmentsSize = stringLiteral.counter;
    Alignment binaryExpressionAlignment = this.scribe.createAlignment(
        Alignment.STRING_CONCATENATION,
        this.preferences.alignment_for_binary_expression,
        Alignment.R_OUTERMOST,
        fragmentsSize,
        this.scribe.scanner.currentPosition);
View Full Code Here


      int multiCatchAlignment,
      BlockScope scope) {
    UnionTypeReference unionType = (UnionTypeReference) argument.type;
    int length = unionType.typeReferences != null ? unionType.typeReferences.length : 0;
    if (length > 0) {
      Alignment argumentsAlignment = this.scribe.createAlignment(
          Alignment.MULTI_CATCH,
          multiCatchAlignment,
          length,
          this.scribe.scanner.currentPosition);
      this.scribe.enterAlignment(argumentsAlignment);
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.formatter.align.Alignment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.