public class SourceRef extends Object
Constructor and Description |
---|
SourceRef(String spec) |
SourceRef(String f,
int l) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
default implementation is just an identity check
|
boolean |
equals(String filePos) |
boolean |
equals(String f,
int l) |
String |
getFileName() |
String |
getLineString() |
String |
getLocationString() |
int |
hashCode() |
void |
set(SourceRef sr) |
String |
toString() |
public String fileName
public int line
public SourceRef(String f, int l)
public SourceRef(String spec)
public String getLocationString()
public String getLineString()
public boolean equals(Object o)
Object
public boolean equals(String f, int l)
public boolean equals(String filePos)
public String getFileName()
public void set(SourceRef sr)