de.firemage.autograder.span.Line Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of autograder-span Show documentation
Show all versions of autograder-span Show documentation
Rendering of code with annotations as part of the Autograder
package de.firemage.autograder.span;
public record Line(int number, String text) {
public int length() {
return this.text.length();
}
public boolean isEmpty() {
return this.text.isEmpty();
}
}