类 ValueCodeGeneratorDelegates.EnumDelegate

java.lang.Object
cn.taketoday.aot.generate.ValueCodeGeneratorDelegates.EnumDelegate
所有已实现的接口:
ValueCodeGenerator.Delegate
封闭类:
ValueCodeGeneratorDelegates

private static class ValueCodeGeneratorDelegates.EnumDelegate extends Object implements ValueCodeGenerator.Delegate
  • 构造器详细资料

    • EnumDelegate

      private EnumDelegate()
  • 方法详细资料

    • generateCode

      @Nullable public cn.taketoday.javapoet.CodeBlock generateCode(ValueCodeGenerator codeGenerator, Object value)
      从接口复制的说明: ValueCodeGenerator.Delegate
      Generate the code for the specified non-null value. If this instance does not support the value, it should return null to indicate so.
      指定者:
      generateCode 在接口中 ValueCodeGenerator.Delegate
      参数:
      codeGenerator - the code generator to use for embedded values
      value - the value to generate
      返回:
      the code that represents the specified value or null if the specified value is not supported.