Package io.cucumber.messages.types
Class SourceReference
- java.lang.Object
-
- io.cucumber.messages.types.SourceReference
-
public class SourceReference extends Object
* Points to a [Source](#io.cucumber.messages.Source) identified by `uri` and a [Location](#io.cucumber.messages.Location) within that file.
-
-
Constructor Summary
Constructors Constructor Description SourceReference()No args constructor for use in serializationSourceReference(String uri, JavaMethod javaMethod, JavaStackTraceElement javaStackTraceElement, Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)JavaMethodgetJavaMethod()JavaStackTraceElementgetJavaStackTraceElement()LocationgetLocation()* Points to a line and a column in a text fileStringgetUri()inthashCode()voidsetJavaMethod(JavaMethod javaMethod)voidsetJavaStackTraceElement(JavaStackTraceElement javaStackTraceElement)voidsetLocation(Location location)* Points to a line and a column in a text filevoidsetUri(String uri)StringtoString()
-
-
-
Constructor Detail
-
SourceReference
public SourceReference()
No args constructor for use in serialization
-
SourceReference
public SourceReference(String uri, JavaMethod javaMethod, JavaStackTraceElement javaStackTraceElement, Location location)
- Parameters:
javaStackTraceElement-location-javaMethod-uri-
-
-
Method Detail
-
getUri
public String getUri()
-
setUri
public void setUri(String uri)
-
getJavaMethod
public JavaMethod getJavaMethod()
-
setJavaMethod
public void setJavaMethod(JavaMethod javaMethod)
-
getJavaStackTraceElement
public JavaStackTraceElement getJavaStackTraceElement()
-
setJavaStackTraceElement
public void setJavaStackTraceElement(JavaStackTraceElement javaStackTraceElement)
-
getLocation
public Location getLocation()
* Points to a line and a column in a text file
-
setLocation
public void setLocation(Location location)
* Points to a line and a column in a text file
-
-