public class PrefixMapDebugPathSanitizer extends DebugPathSanitizer
| Constructor and Description |
|---|
PrefixMapDebugPathSanitizer(String fakeCompilationDirectory,
com.google.common.collect.ImmutableBiMap<Path,String> other) |
PrefixMapDebugPathSanitizer(String fakeCompilationDirectory,
com.google.common.collect.ImmutableBiMap<Path,String> other,
boolean useUnixPathSeparator) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<Map.Entry<Path,String>> |
getAllPaths(Optional<Path> workingDir) |
String |
getCompilationDirectory() |
com.google.common.collect.ImmutableMap<String,String> |
getCompilationEnvironment(Path workingDir,
boolean shouldSanitize) |
com.google.common.collect.ImmutableList<String> |
getCompilationFlags(Compiler compiler,
Path workingDir,
com.google.common.collect.ImmutableMap<Path,Path> prefixMap) |
void |
restoreCompilationDirectory(Path path,
Path workingDir) |
getPaddedDir, sanitizeFlags, sanitizerpublic PrefixMapDebugPathSanitizer(String fakeCompilationDirectory, com.google.common.collect.ImmutableBiMap<Path,String> other, boolean useUnixPathSeparator)
public String getCompilationDirectory()
getCompilationDirectory in class DebugPathSanitizerpublic com.google.common.collect.ImmutableMap<String,String> getCompilationEnvironment(Path workingDir, boolean shouldSanitize)
getCompilationEnvironment in class DebugPathSanitizerpublic void restoreCompilationDirectory(Path path, Path workingDir)
restoreCompilationDirectory in class DebugPathSanitizerpublic com.google.common.collect.ImmutableList<String> getCompilationFlags(Compiler compiler, Path workingDir, com.google.common.collect.ImmutableMap<Path,Path> prefixMap)
getCompilationFlags in class DebugPathSanitizerprotected Iterable<Map.Entry<Path,String>> getAllPaths(Optional<Path> workingDir)
getAllPaths in class DebugPathSanitizer