- All Superinterfaces:
CodegenContext
Deprecated, for removal: This API element is subject to removal in a future version.
this API will be package local in the future, use through Helidon codegen only
Annotation processing code generation context.
-
Method Summary
Modifier and TypeMethodDescriptionaptEnv()
Deprecated, for removal: This API element is subject to removal in a future version.Annotation processing environment.Deprecated, for removal: This API element is subject to removal in a future version.Get a cached instance of the type info, and if not cached, cache the provided one.static AptContext
create
(ProcessingEnvironment env, Set<Option<?>> options) Deprecated, for removal: This API element is subject to removal in a future version.Create context from the processing environment, and a set of additional supported options.Methods inherited from interface io.helidon.codegen.CodegenContext
annotationMappers, elementMappers, filer, logger, mapperSupportedAnnotationPackages, mapperSupportedAnnotations, module, moduleName, options, scope, supportedOptions, typeInfo, typeInfo, typeMappers
-
Method Details
-
create
Deprecated, for removal: This API element is subject to removal in a future version.Create context from the processing environment, and a set of additional supported options.- Parameters:
env
- processing environmentoptions
- supported options- Returns:
- a new annotation processing context
-
aptEnv
ProcessingEnvironment aptEnv()Deprecated, for removal: This API element is subject to removal in a future version.Annotation processing environment.- Returns:
- environment
-
cache
Deprecated, for removal: This API element is subject to removal in a future version.Get a cached instance of the type info, and if not cached, cache the provided one. Only type infos known not to be modified during this build are cached.- Parameters:
typeName
- type nametypeInfoSupplier
- supplier of value if it is not yet cached- Returns:
- type info for that name, in case the type info cannot be created, an empty optional
-