类 JdkProxyHint.Builder

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

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

  • 构造器详细资料

    • Builder

      Builder()
  • 方法详细资料

    • proxiedInterfaces

      public JdkProxyHint.Builder proxiedInterfaces(TypeReference... proxiedInterfaces)
      Add the specified interfaces that the proxy should implement.
      参数:
      proxiedInterfaces - the interfaces the proxy should implement
      返回:
      this, to facilitate method chaining
    • proxiedInterfaces

      public JdkProxyHint.Builder proxiedInterfaces(Class<?>... proxiedInterfaces)
      Add the specified interfaces that the proxy should implement.
      参数:
      proxiedInterfaces - the interfaces the proxy should implement
      返回:
      this, to facilitate method chaining
    • onReachableType

      public JdkProxyHint.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
    • build

      JdkProxyHint build()
      Create a JdkProxyHint based on the state of this builder.
      返回:
      a JDK proxy hint
    • toTypeReferences

      private static List<TypeReference> toTypeReferences(Class<?>... proxiedInterfaces)