
astra.core.AbstractElement Maven / Gradle / Ivy
package astra.core;
public abstract class AbstractElement {
int beginLine;
int beginColumn;
int endLine;
int endColumn;
String clazz;
boolean linkedToSource = false;
public void setLocation(String clazz, int beginLine, int beginColumn, int endLine, int endColumn) {
this.clazz = clazz;
this.beginLine = beginLine;
this.beginColumn = beginColumn;
this.endLine = endLine;
this.endColumn = endColumn;
linkedToSource = true;
}
public int beginLine() {
return beginLine;
}
public int endLine() {
return endLine;
}
public String getASTRAClass() {
return clazz;
}
public boolean isLinkedToSource() {
return linkedToSource;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy