Package io.helidon.builder.processor.spi
Interface TypeInfoCreatorProvider
public interface TypeInfoCreatorProvider
Java
ServiceLoader provider interface used to discover type info creators.
Used to create a TypeInfo from the provided arguments.
-
Method Summary
Modifier and TypeMethodDescriptioncreateTypeInfo(AnnotationAndValue annotation, TypeName typeName, TypeElement element, ProcessingEnvironment processingEnv) Creates aTypeInfo.
-
Method Details
-
createTypeInfo
Optional<TypeInfo> createTypeInfo(AnnotationAndValue annotation, TypeName typeName, TypeElement element, ProcessingEnvironment processingEnv) Creates aTypeInfo.- Parameters:
annotation- the annotation that triggered the creationtypeName- the type name that is being processed that is annotated with the triggering annotationelement- the element representative of the typeNameprocessingEnv- the processing environment- Returns:
- the type info associated with the arguments being processed, or empty if not able to process the type
-