Class SourceMapInput

  • All Implemented Interfaces:
    java.io.Serializable

    public final class SourceMapInput
    extends java.lang.Object
    implements java.io.Serializable
    A lazy-loaded SourceMapConsumerV3 instance.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getOriginalPath()
      Gets the original location of this sourcemap file on disk.
      com.google.debugging.sourcemap.SourceMapConsumerV3 getSourceMap​(ErrorManager errorManager)
      Gets the source map, reading from disk and parsing if necessary.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SourceMapInput

        public SourceMapInput​(SourceFile sourceFile)
    • Method Detail

      • getSourceMap

        @Nullable
        public com.google.debugging.sourcemap.SourceMapConsumerV3 getSourceMap​(ErrorManager errorManager)
        Gets the source map, reading from disk and parsing if necessary. Returns null if the sourcemap cannot be resolved or is malformed.
      • getOriginalPath

        public java.lang.String getOriginalPath()
        Gets the original location of this sourcemap file on disk.