public abstract class CellRelativePath extends Object implements Comparable<CellRelativePath>
CanonicalCellName
and ForwardRelativePath
relative the the cell.
This object can identify a buck package or a buck file.
Constructor and Description |
---|
CellRelativePath() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CellRelativePath that) |
abstract CanonicalCellName |
getCellName() |
abstract ForwardRelativePath |
getPath() |
static CellRelativePath |
of(CanonicalCellName cellName,
ForwardRelativePath path) |
boolean |
startsWith(CellRelativePath other) |
String |
toString() |
public abstract CanonicalCellName getCellName()
public abstract ForwardRelativePath getPath()
public boolean startsWith(CellRelativePath other)
public int compareTo(CellRelativePath that)
compareTo
in interface Comparable<CellRelativePath>
public static CellRelativePath of(CanonicalCellName cellName, ForwardRelativePath path)