Class SymbolMapsLinker.SourceMapArtifact

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Artifact<?>>
    Enclosing class:
    SymbolMapsLinker

    public static class SymbolMapsLinker.SourceMapArtifact
    extends SyntheticArtifact
    Artifact to represent a sourcemap file to be processed by SymbolMapsLinker.
    See Also:
    Serialized Form
    • Field Detail

      • isSourceMapFile

        public static final java.util.regex.Pattern isSourceMapFile
    • Constructor Detail

      • SourceMapArtifact

        public SourceMapArtifact​(int permutationId,
                                 int fragment,
                                 byte[] js,
                                 java.lang.String sourceRoot)
    • Method Detail

      • getFragment

        public int getFragment()
      • getPermutationId

        public int getPermutationId()
      • getSourceRoot

        public java.lang.String getSourceRoot()
        The base URL for Java filenames in the sourcemap. (We need to reapply this after edits.)
      • sourceMapFilenameForFragment

        public static java.lang.String sourceMapFilenameForFragment​(int fragment)