类 ProxyHintsPredicates

java.lang.Object
cn.taketoday.aot.hint.predicate.ProxyHintsPredicates

public class ProxyHintsPredicates extends Object
Generator of ProxyHints predicates, testing whether the given hints match the expected behavior for proxies.
从以下版本开始:
4.0
作者:
Brian Clozel
  • 构造器详细资料

    • ProxyHintsPredicates

      ProxyHintsPredicates()
  • 方法详细资料

    • forInterfaces

      public Predicate<RuntimeHints> forInterfaces(Class<?>... interfaces)
      Return a predicate that checks whether a JdkProxyHint is registered for the given interfaces.

      Note that the order in which interfaces are given matters.

      参数:
      interfaces - the proxied interfaces
      返回:
      the RuntimeHints predicate
      另请参阅:
    • forInterfaces

      public Predicate<RuntimeHints> forInterfaces(TypeReference... interfaces)
      Return a predicate that checks whether a JdkProxyHint is registered for the given interfaces.

      Note that the order in which interfaces are given matters.

      参数:
      interfaces - the proxied interfaces as type references
      返回:
      the RuntimeHints predicate
      另请参阅: