Interface ClassSpec

    • Method Detail

      • poetSpec

        com.squareup.javapoet.TypeSpec poetSpec()
        Returns:
        The actual class specification generated from a PoetSpec.builder()... implementation
      • className

        com.squareup.javapoet.ClassName className()
        Returns:
        The Poet representation of the class being generated, this may be used by other classes
      • staticImports

        default Iterable<StaticImport> staticImports()
        An optional hook to allow inclusion of static imports for example converting:
        
         import software.amazon.awssdk.utils.StringUtils;
         //...
           if(StringUtils.isBlank(value))...
         
        to
        
         import software.amazon.awssdk.utils.StringUtils.isBlank;
         //...
           if(isBlank(value))...
         
        Returns:
        the static imports to include