TranslationContext (record)

API

TranslationContext.java
record TranslationContext {
  TranslationContext named(String name)
  String getName()
  TranslationContext forClassName(Class<?> contextClass)
  TranslationContext forMethod(Class<?> contextClass, String contextMethodName)
  TranslationContext forMethod(ResolvedMethod method)
  TranslationContext forEnum(Enum<?> objectAsEnum)
  TranslationContext empty()
}