类 ValueCodeGeneratorDelegates.ResolvableTypeDelegate
java.lang.Object
cn.taketoday.aot.generate.ValueCodeGeneratorDelegates.ResolvableTypeDelegate
- 所有已实现的接口:
ValueCodeGenerator.Delegate
private static class ValueCodeGeneratorDelegates.ResolvableTypeDelegate
extends Object
implements ValueCodeGenerator.Delegate
ValueCodeGenerator.Delegate for ResolvableType types.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明cn.taketoday.javapoet.CodeBlockgenerateCode(ValueCodeGenerator codeGenerator, Object value) Generate the code for the specified non-nullvalue.private static cn.taketoday.javapoet.CodeBlockgenerateCode(ResolvableType resolvableType, boolean allowClassResult) private static cn.taketoday.javapoet.CodeBlockgenerateCodeWithGenerics(ResolvableType target, Class<?> type)
-
构造器详细资料
-
ResolvableTypeDelegate
private ResolvableTypeDelegate()
-
-
方法详细资料
-
generateCode
@Nullable public cn.taketoday.javapoet.CodeBlock generateCode(ValueCodeGenerator codeGenerator, Object value) 从接口复制的说明:ValueCodeGenerator.DelegateGenerate the code for the specified non-nullvalue. If this instance does not support the value, it should returnnullto indicate so.- 指定者:
generateCode在接口中ValueCodeGenerator.Delegate- 参数:
codeGenerator- the code generator to use for embedded valuesvalue- the value to generate- 返回:
- the code that represents the specified value or
nullif the specified value is not supported.
-
generateCode
private static cn.taketoday.javapoet.CodeBlock generateCode(ResolvableType resolvableType, boolean allowClassResult) -
generateCodeWithGenerics
private static cn.taketoday.javapoet.CodeBlock generateCodeWithGenerics(ResolvableType target, Class<?> type)
-