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

astra.core.AbstractElement Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy