Class BugAnnotationWithSourceLines

    • Field Detail

      • sourceFileName

        protected java.lang.String sourceFileName
    • Constructor Detail

      • BugAnnotationWithSourceLines

        public BugAnnotationWithSourceLines()
    • Method Detail

      • clone

        public java.lang.Object clone()
        Specified by:
        clone in interface BugAnnotation
        Overrides:
        clone in class java.lang.Object
      • getSourceFileName

        public final java.lang.String getSourceFileName()
        Get the source file name.
      • setSourceLines

        public void setSourceLines​(SourceLineAnnotation sourceLines)
        Set a SourceLineAnnotation describing the source lines where the package element is defined.
      • getSourceLines

        public SourceLineAnnotation getSourceLines()
        Get the SourceLineAnnotation describing the source lines where the method is defined.
        Returns:
        the SourceLineAnnotation, or null if there is no source information for this package element