T
- the type of the decorated object.#ByteBuddyI18nizer
.@Deprecated public class I18nTextMethodDecorator<T> extends com.thoughtworks.proxy.toys.decorate.Decorator<T>
Decorator
which decorates methods by delegating to the given TranslationService
.Constructor and Description |
---|
I18nTextMethodDecorator(TranslationService translationService,
LocaleProvider localeProvider,
I18nKeyGenerator keyGenerator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
decorate(String undecoratedResult,
T proxiedObject,
Method method)
Deprecated.
|
Object |
decorateResult(T proxy,
Method method,
Object[] args,
Object result)
Deprecated.
|
public I18nTextMethodDecorator(TranslationService translationService, LocaleProvider localeProvider, I18nKeyGenerator keyGenerator)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.