Package org.teavm.model.lowlevel
Class CallSiteLocation
- java.lang.Object
-
- org.teavm.model.lowlevel.CallSiteLocation
-
public class CallSiteLocation extends Object
-
-
Constructor Summary
Constructors Constructor Description CallSiteLocation(String fileName, String className, String methodName, int lineNumber)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static CallSiteLocation[]fromTextLocation(TextLocation location, MethodReference callingMethod)StringgetClassName()StringgetFileName()intgetLineNumber()StringgetMethodName()inthashCode()static CallSiteLocationload(AnnotationReader reader)static List<? extends CallSiteLocation>loadMany(AnnotationReader reader)AnnotationReadersave()static AnnotationReadersaveMany(List<? extends CallSiteLocation> locations)
-
-
-
Method Detail
-
fromTextLocation
public static CallSiteLocation[] fromTextLocation(TextLocation location, MethodReference callingMethod)
-
getFileName
public String getFileName()
-
getClassName
public String getClassName()
-
getMethodName
public String getMethodName()
-
getLineNumber
public int getLineNumber()
-
save
public AnnotationReader save()
-
load
public static CallSiteLocation load(AnnotationReader reader)
-
saveMany
public static AnnotationReader saveMany(List<? extends CallSiteLocation> locations)
-
loadMany
public static List<? extends CallSiteLocation> loadMany(AnnotationReader reader)
-
-