类 ResourceBundleHint.Builder

java.lang.Object
cn.taketoday.aot.hint.ResourceBundleHint.Builder
封闭类:
ResourceBundleHint

public static class ResourceBundleHint.Builder extends Object
Builder for ResourceBundleHint.
  • 字段详细资料

  • 构造器详细资料

    • Builder

      Builder(String baseName)
  • 方法详细资料

    • onReachableType

      public ResourceBundleHint.Builder onReachableType(TypeReference reachableType)
      Make this hint conditional on the fact that the specified type can be resolved.
      参数:
      reachableType - the type that should be reachable for this hint to apply
      返回:
      this, to facilitate method chaining
    • baseName

      public ResourceBundleHint.Builder baseName(String baseName)
      Use the baseName of the resource bundle.
      返回:
      this, to facilitate method chaining
    • build

      Creates a ResourceBundleHint based on the state of this builder.
      返回:
      a resource bundle hint