Enum Class的使用
cn.taketoday.aot.hint.ExecutableMode
使用ExecutableMode的程序包
程序包
说明
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
Predicate support for runtime hints.
-
cn.taketoday.aot.hint中ExecutableMode的使用
修饰符和类型字段说明private ExecutableModeExecutableHint.Builder.modeprivate final ExecutableModeExecutableHint.mode修饰符和类型方法说明ExecutableHint.getMode()Return the mode that applies to this hint.static ExecutableModeReturns the enum constant of this class with the specified name.static ExecutableMode[]ExecutableMode.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为ExecutableMode的cn.taketoday.aot.hint中的方法修饰符和类型方法说明static Consumer<ExecutableHint.Builder>ExecutableHint.builtWith(ExecutableMode mode) (专用程序包) booleanExecutableMode.includes(ExecutableMode other) Specify if this mode already includes the specifiedothermode.ReflectionHints.registerConstructor(Constructor<?> constructor, ExecutableMode mode) Register the need for reflection on the specifiedConstructor, using the specifiedExecutableMode.ReflectionHints.registerMethod(Method method, ExecutableMode mode) Register the need for reflection on the specifiedMethod, using the specifiedExecutableMode.TypeHint.Builder.withConstructor(List<TypeReference> parameterTypes, ExecutableMode mode) Register the need for reflection on the constructor with the specified parameter types, using the specifiedExecutableMode.TypeHint.Builder.withMethod(String name, List<TypeReference> parameterTypes, ExecutableMode mode) Register the need for reflection on the method with the specified name and parameter types, using the specifiedExecutableMode.ExecutableHint.Builder.withMode(ExecutableMode mode) Specify that the mode is required. -
cn.taketoday.aot.hint.predicate中ExecutableMode的使用
修饰符和类型字段说明protected ExecutableModeReflectionHintsPredicates.ExecutableHintPredicate.executableMode修饰符和类型方法说明(专用程序包) static booleanReflectionHintsPredicates.ExecutableHintPredicate.includes(ExecutableHint hint, String name, List<TypeReference> parameterTypes, ExecutableMode executableModes) Indicate whether the specifiedExecutableHintcovers the reflection needs of the specified executable definition.