类的使用
cn.taketoday.aot.generate.MethodName
使用MethodName的程序包
程序包
说明
Support classes for components that contribute generated code equivalent to a
runtime behavior.
-
cn.taketoday.aot.generate中MethodName的使用
修饰符和类型字段说明static final MethodNameMethodName.NONEAn empty method name.private final MethodNameGeneratedMethods.prefix类型参数类型为MethodName的cn.taketoday.aot.generate中的字段修饰符和类型字段说明private final Function<MethodName,String> GeneratedMethods.methodNameGeneratorprivate final Map<MethodName,AtomicInteger> GeneratedClass.methodNameSequenceGenerator修饰符和类型方法说明(专用程序包) MethodNameMethodName.and(MethodName name) Create a new method name by concatenating the specified name to this name.(专用程序包) MethodNameCreate a new method name by concatenating the specified parts to this name.(专用程序包) static MethodNameCreate a new method name from the specific parts.参数类型为MethodName的cn.taketoday.aot.generate中的方法修饰符和类型方法说明(专用程序包) MethodNameMethodName.and(MethodName name) Create a new method name by concatenating the specified name to this name.private StringGeneratedClass.generateSequencedMethodName(MethodName name) 参数类型为MethodName的cn.taketoday.aot.generate中的构造器限定符构造器说明privateGeneratedMethods(cn.taketoday.javapoet.ClassName className, Function<MethodName, String> methodNameGenerator, MethodName prefix, List<GeneratedMethod> generatedMethods) 类型变量类型为MethodName的cn.taketoday.aot.generate中的构造器参数限定符构造器说明(专用程序包)GeneratedMethods(cn.taketoday.javapoet.ClassName className, Function<MethodName, String> methodNameGenerator) Create a newGeneratedMethodsusing the specified method name generator.privateGeneratedMethods(cn.taketoday.javapoet.ClassName className, Function<MethodName, String> methodNameGenerator, MethodName prefix, List<GeneratedMethod> generatedMethods)