类 ValueCodeGeneratorDelegates.CharsetDelegate
java.lang.Object
cn.taketoday.aot.generate.ValueCodeGeneratorDelegates.CharsetDelegate
- 所有已实现的接口:
ValueCodeGenerator.Delegate
private static class ValueCodeGeneratorDelegates.CharsetDelegate
extends Object
implements ValueCodeGenerator.Delegate
ValueCodeGenerator.Delegate for Charset types.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明cn.taketoday.javapoet.CodeBlockgenerateCode(ValueCodeGenerator codeGenerator, Object value) Generate the code for the specified non-nullvalue.
-
构造器详细资料
-
CharsetDelegate
private CharsetDelegate()
-
-
方法详细资料
-
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.
-