Class TextRanges

java.lang.Object
org.sonar.iac.common.api.tree.impl.TextRanges

public class TextRanges extends Object
  • Method Details

    • range

      public static TextRange range(int startLine, int startColumn, int endLine, int endColumn)
    • range

      public static TextRange range(int line, int column, String value)
    • merge

      public static TextRange merge(List<TextRange> ranges)
    • mergeElementsWithTextRange

      public static TextRange mergeElementsWithTextRange(List<? extends HasTextRange> elementsWithTextRange)
    • isValidAndNotEmpty

      public static boolean isValidAndNotEmpty(TextRange range)