类 JdkProxyHint

java.lang.Object
cn.taketoday.aot.hint.JdkProxyHint
所有已实现的接口:
ConditionalHint

public final class JdkProxyHint extends Object implements ConditionalHint
A hint that describes the need for a JDK interface-based Proxy.
从以下版本开始:
4.0
作者:
Stephane Nicoll, Brian Clozel
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • of

      public static JdkProxyHint.Builder of(TypeReference... proxiedInterfaces)
      Initialize a builder with the proxied interfaces to use.
      参数:
      proxiedInterfaces - the interfaces the proxy should implement
      返回:
      a builder for the hint
    • of

      public static JdkProxyHint.Builder of(Class<?>... proxiedInterfaces)
      Initialize a builder with the proxied interfaces to use.
      参数:
      proxiedInterfaces - the interfaces the proxy should implement
      返回:
      a builder for the hint
    • getProxiedInterfaces

      public List<TypeReference> getProxiedInterfaces()
      Return the interfaces to be proxied.
      返回:
      the interfaces that the proxy should implement
    • getReachableType

      @Nullable public TypeReference getReachableType()
      从接口复制的说明: ConditionalHint
      Return the type that should be reachable for this hint to apply, or null if this hint should always been applied.
      指定者:
      getReachableType 在接口中 ConditionalHint
      返回:
      the reachable type, if any
    • equals

      public boolean equals(@Nullable Object o)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object