Interface SourceMap.LocationMapping

All Known Implementing Classes:
SourceMap.PrefixLocationMapping
Enclosing class:
SourceMap
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SourceMap.LocationMapping
Function that mape a "destination" location to use within the source map. Should return null if the value is not mapped.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    map(String location)
     
  • Method Details

    • map

      @Nullable String map(String location)
      Parameters:
      location - the location to transform
      Returns:
      the transformed location or null if not transformed