class ImmutablePlaceholderResolver implements PlaceholderResolver<T> {

    @Override
    public Optional<String> resolve(final T placeholderSource, final String name) {
        return placeholder.resolve(placeholderSource, name);
    }

      ImmutablePlaceholderResolver(final Placeholder<T> placeholder, @Nullable final T placeholderSource);

}