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 Detail

      • map

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