All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.codemodder.sonar.model.TextRange Maven / Gradle / Ivy

package io.codemodder.sonar.model;

import com.fasterxml.jackson.annotation.JsonProperty;

/** Represents a range of text in a file. */
public class TextRange {

  @JsonProperty("startLine")
  private int startLine;

  @JsonProperty("endLine")
  private int endLine;

  @JsonProperty("startOffset")
  private int startOffset;

  @JsonProperty("endOffset")
  private int endOffset;

  public int getStartLine() {
    return startLine;
  }

  public int getEndLine() {
    return endLine;
  }

  public int getStartOffset() {
    return startOffset;
  }

  public int getEndOffset() {
    return endOffset;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy