Klasse TextEditsBuilder

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.formatter.TokenTraverser
org.aspectj.org.eclipse.jdt.internal.formatter.TextEditsBuilder

public class TextEditsBuilder extends TokenTraverser
Creates the formatter's result TextEdit by scanning through the tokens and comparing them with the original source.
  • Konstruktordetails

  • Methodendetails

    • token

      protected boolean token(Token token, int index)
      Angegeben von:
      token in Klasse TokenTraverser
    • appendIndentationString

      public static void appendIndentationString(StringBuilder target, int tabChar, int tabSize, int indent, int additionalSpaces)
    • processComment

      public void processComment(Token commentToken)
    • getEdits

      public List<org.eclipse.text.edits.TextEdit> getEdits()
    • setAlignChar

      public void setAlignChar(int alignChar)