类 ReflectionHintsWriter
java.lang.Object
cn.taketoday.aot.nativex.ReflectionHintsWriter
Write
ReflectionHints to the JSON output expected by the GraalVM
native-image compiler, typically named reflect-config.json
or jni-config.json.- 从以下版本开始:
- 4.0
- 作者:
- Sebastien Deleuze, Stephane Nicoll, Janne Valkealahti, Harry Yang
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static voidprivate static voidhandleCategories(Map<String, Object> attributes, Set<MemberCategory> categories) private static voidhandleCondition(Map<String, Object> attributes, TypeHint hint) private static voidhandleExecutables(Map<String, Object> attributes, List<ExecutableHint> hints) private static voidtoAttributes(ExecutableHint hint) toAttributes(FieldHint hint) toAttributes(TypeHint hint) static voidwrite(BasicJsonWriter writer, ReflectionHints hints)
-
构造器详细资料
-
ReflectionHintsWriter
ReflectionHintsWriter()
-
-
方法详细资料
-
write
-
toAttributes
-
handleCondition
-
handleFields
-
toAttributes
-
handleExecutables
-
toAttributes
-
handleCategories
-
addIfNotEmpty
-