Package it.unive.lisa.program
Class SyntheticLocation
- java.lang.Object
-
- it.unive.lisa.program.SyntheticLocation
-
- All Implemented Interfaces:
CodeLocation,java.lang.Comparable<CodeLocation>
public final class SyntheticLocation extends java.lang.Object implements CodeLocation
A synthetic code location.
-
-
Field Summary
Fields Modifier and Type Field Description static SyntheticLocationINSTANCESingleton instance of the synthetic location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CodeLocation o)java.lang.StringgetCodeLocation()Yields the string code location representation.
-
-
-
Field Detail
-
INSTANCE
public static final SyntheticLocation INSTANCE
Singleton instance of the synthetic location.
-
-
Method Detail
-
getCodeLocation
public java.lang.String getCodeLocation()
Description copied from interface:CodeLocationYields the string code location representation.- Specified by:
getCodeLocationin interfaceCodeLocation- Returns:
- the string code location representation
-
compareTo
public int compareTo(CodeLocation o)
- Specified by:
compareToin interfacejava.lang.Comparable<CodeLocation>
-
-