Class SymbolMapsLinker.SourceMapArtifact

All Implemented Interfaces:
Serializable, 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:
  • Field Details

    • isSourceMapFile

      public static final Pattern isSourceMapFile
  • Constructor Details

    • SourceMapArtifact

      public SourceMapArtifact(int permutationId, int fragment, byte[] js, String sourceRoot)
  • Method Details

    • getFragment

      public int getFragment()
    • getPermutationId

      public int getPermutationId()
    • getSourceRoot

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

      public static String sourceMapFilenameForFragment(int fragment)