类 ReflectiveRuntimeHintsRegistrar
java.lang.Object
cn.taketoday.aot.hint.annotation.ReflectiveRuntimeHintsRegistrar
Process
@Reflective annotated elements.- 从以下版本开始:
- 4.0
- 作者:
- Stephane Nicoll, Andy Wilkinson
-
嵌套类概要
嵌套类修饰符和类型类说明private static classprivate static final record -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明createEntry(AnnotatedElement element) private voiddoWithReflectiveConstructors(Class<?> typeToProcess, Consumer<Constructor<?>> consumer) private ReflectiveProcessorinstantiateClass(Class<?> type) private booleanisReflective(AnnotatedElement element) private voidprocessType(Set<ReflectiveRuntimeHintsRegistrar.Entry> entries, Class<?> typeToProcess) voidregisterRuntimeHints(RuntimeHints runtimeHints, Class<?>... types) Register the relevant runtime hints for elements that are annotated withReflective.
-
字段详细资料
-
processors
-
-
构造器详细资料
-
ReflectiveRuntimeHintsRegistrar
public ReflectiveRuntimeHintsRegistrar()
-
-
方法详细资料
-
registerRuntimeHints
Register the relevant runtime hints for elements that are annotated withReflective.- 参数:
runtimeHints- the runtime hints instance to usetypes- the types to process
-
processType
private void processType(Set<ReflectiveRuntimeHintsRegistrar.Entry> entries, Class<?> typeToProcess) -
doWithReflectiveConstructors
private void doWithReflectiveConstructors(Class<?> typeToProcess, Consumer<Constructor<?>> consumer) -
isReflective
-
createEntry
-
instantiateClass
-