Interface AptContext

All Superinterfaces:
CodegenContext

@Deprecated(forRemoval=true, since="4.1.0") public interface AptContext extends 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 Details

    • create

      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.
      Parameters:
      env - processing environment
      options - supported options
      Returns:
      a new annotation processing context
    • aptEnv

      Deprecated, for removal: This API element is subject to removal in a future version.
      Annotation processing environment.
      Returns:
      environment
    • cache

      Optional<TypeInfo> cache(TypeName typeName, Supplier<Optional<TypeInfo>> typeInfoSupplier)
      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 name
      typeInfoSupplier - 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