Package io.helidon.builder.processor.spi
Interface TypeInfoCreatorProvider
- All Known Implementing Classes:
BuilderTypeTools,TypeTools
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(TypeName annoTypeName, TypeName typeName, TypeElement element, ProcessingEnvironment processingEnv, boolean wantDefaultMethods) Creates aTypeInfo.
-
Method Details
-
createTypeInfo
Optional<TypeInfo> createTypeInfo(TypeName annoTypeName, TypeName typeName, TypeElement element, ProcessingEnvironment processingEnv, boolean wantDefaultMethods) Creates aTypeInfo.- Parameters:
annoTypeName- the annotation type name 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 environmentwantDefaultMethods- true to acceptdefaultmethods (normally this is passed as false)- Returns:
- the type info associated with the arguments being processed, or empty if not able to process the type
-