类 ClassHintUtils
java.lang.Object
cn.taketoday.aot.hint.support.ClassHintUtils
Utilities for core hint inference on Infra-managed classes,
specifically for proxy types such as interface-based JDK proxies
and CGLIB-generated subclasses which need proxy/reflection hints.
Note that this class does not take specifics of Infra AOP or any other framework arrangement into account. It just operates on the JDK and CGLIB proxy facilities and their core conventions.
- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, Sebastien Deleuze
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private static final Consumer<TypeHint.Builder>private static final Consumer<TypeHint.Builder> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidregisterProxyIfNecessary(Class<?> candidateClass, RuntimeHints runtimeHints) Register a proxy hint for a JDK proxy or corresponding reflection hints for a CGLIB-generated subclass, if necessary.
-
字段详细资料
-
asClassBasedProxy
-
asProxiedUserClass
-
-
构造器详细资料
-
ClassHintUtils
public ClassHintUtils()
-
-
方法详细资料
-
registerProxyIfNecessary
Register a proxy hint for a JDK proxy or corresponding reflection hints for a CGLIB-generated subclass, if necessary.- 参数:
candidateClass- the class to introspectruntimeHints- the RuntimeHints instance to register the hints on- 另请参阅:
-