Interface ClassSpec
- All Known Implementing Classes:
AbstractEnumClass,AsyncClientBuilderClass,AsyncClientBuilderInterface,AsyncClientClass,AsyncClientInterface,AsyncResponseClassSpec,AsyncWaiterClassSpec,AsyncWaiterInterfaceSpec,AuthSchemeInterceptorSpec,AuthSchemeParamsSpec,AuthSchemeProviderSpec,AwsServiceBaseRequestSpec,AwsServiceBaseResponseSpec,AwsServiceModel,BaseClientBuilderClass,BaseClientBuilderInterface,BaseExceptionClass,BaseWaiterClassSpec,BaseWaiterInterfaceSpec,ClientContextParamsClassSpec,DefaultAuthSchemeParamsSpec,DefaultPartitionDataProviderSpec,DelegatingAsyncClientClass,DelegatingSyncClientClass,EndpointAwareAuthSchemeParamsSpec,EndpointBasedAuthSchemeProviderSpec,EndpointDiscoveryAsyncCacheLoaderGenerator,EndpointDiscoveryCacheLoaderGenerator,EndpointParametersClassSpec,EndpointProviderInterfaceSpec,EndpointProviderSpec,EndpointProviderSpec2,EndpointProviderTestSpec,EndpointResolverInterceptorSpec,EndpointRulesClientTestSpec,EnumClass,EnvironmentTokenSystemSettingsClass,EventModelSpec,EventStreamResponseHandlerBuilderImplSpec,EventStreamResponseHandlerBuilderInterfaceSpec,EventStreamResponseHandlerSpec,EventStreamVisitorBuilderImplSpec,EventStreamVisitorBuilderInterfaceSpec,EventTypeEnumSpec,MarshallerSpec,ModelBasedAuthSchemeProviderSpec,PaginatorsClassSpec,PreferredAuthSchemeProviderSpec,RequestEndpointInterceptorSpec,ResponseMetadataSpec,SameTokenAsyncResponseClassSpec,SameTokenSyncResponseClassSpec,SdkClientOptions,ServiceClientConfigurationBuilderClass,ServiceClientConfigurationClass,ServiceVersionInfoSpec,SyncClientBuilderClass,SyncClientBuilderInterface,SyncClientClass,SyncClientInterface,SyncResponseClassSpec,UserAgentUtilsSpec,WaiterClassSpec,WaiterInterfaceSpec
public interface ClassSpec
Represents a Poet generated class
-
Method Summary
Modifier and TypeMethodDescriptioncom.squareup.javapoet.ClassNamecom.squareup.javapoet.TypeSpecpoetSpec()default Iterable<StaticImport> An optional hook to allow inclusion of static imports for example converting:
-
Method Details
-
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
An optional hook to allow inclusion of static imports for example converting:
toimport software.amazon.awssdk.utils.StringUtils; //... if(StringUtils.isBlank(value))...import software.amazon.awssdk.utils.StringUtils.isBlank; //... if(isBlank(value))...- Returns:
- the static imports to include
-