类的使用
cn.taketoday.aot.generate.GeneratedMethods
使用GeneratedMethods的程序包
程序包
说明
Support classes for components that contribute generated code equivalent to a
runtime behavior.
-
cn.taketoday.aot.generate中GeneratedMethods的使用
修饰符和类型字段说明private final GeneratedMethodsValueCodeGenerator.generatedMethodsprivate final GeneratedMethodsGeneratedClass.methods修饰符和类型方法说明ValueCodeGenerator.getGeneratedMethods()Return theGeneratedMethodsthat represents the scope in which code generated by this instance will be added, ornullif no specific scope is set.GeneratedClass.getMethods()Return generated methods for this instance.GeneratedMethods.withPrefix(String prefix) Specify the prefix to use for method names.修饰符和类型方法说明ValueCodeGenerator.scoped(GeneratedMethods generatedMethods) Return aValueCodeGeneratorthat is scoped for the specifiedGeneratedMethods.参数类型为GeneratedMethods的cn.taketoday.aot.generate中的构造器限定符构造器说明privateValueCodeGenerator(List<ValueCodeGenerator.Delegate> delegates, GeneratedMethods generatedMethods)