@SPI public interface TypeBuilder<T extends TypeMirror> extends Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(ProcessingEnvironment processingEnv,
TypeMirror type)
Test the specified
type is accepted or not |
TypeDefinition |
build(ProcessingEnvironment processingEnv,
T type,
Map<String,TypeDefinition> typeCache)
Build the instance of
TypeDefinition |
compareTo, getPriorityboolean accept(ProcessingEnvironment processingEnv, TypeMirror type)
type is accepted or notprocessingEnv - ProcessingEnvironmenttype - typetrue if acceptedTypeDefinition build(ProcessingEnvironment processingEnv, T type, Map<String,TypeDefinition> typeCache)
TypeDefinitionprocessingEnv - ProcessingEnvironmenttype - typeTypeDefinitionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.