Class 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 Detail

      • SourceReference

        public SourceReference()
        No args constructor for use in serialization
    • Method Detail

      • getUri

        public String getUri()
      • setUri

        public void setUri​(String uri)
      • getJavaMethod

        public JavaMethod getJavaMethod()
      • setJavaMethod

        public void setJavaMethod​(JavaMethod javaMethod)
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object