Class SmapFile

java.lang.Object
org.sonar.java.model.SmapFile

public class SmapFile extends Object
SMAP format is described by JSR 45 JSR 45 defines more generic format supporting translation from multiple languages, here we implement only subset used by Jasper for JSP to Java translation.

We expect only single JSP stratum, with single FileSection and LineSection. Moreover only single file is expected in FileSection

  • Constructor Details

    • SmapFile

      public SmapFile(Path rootDir, String smapString, Path uriRoot, org.sonar.api.batch.fs.FileSystem fileSystem)
  • Method Details

    • getGeneratedFile

      public Path getGeneratedFile()
    • toString

      public String toString()
      Overrides:
      toString in class Object