public class EnumTypeDefinitionBuilder extends Object implements DeclaredTypeDefinitionBuilder
TypeBuilder for Java EnumCOMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| Constructor and Description |
|---|
EnumTypeDefinitionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(ProcessingEnvironment processingEnv,
DeclaredType type)
Test the specified
type is accepted or not |
TypeDefinition |
build(ProcessingEnvironment processingEnv,
DeclaredType type,
Map<String,TypeDefinition> typeCache)
Build the instance of
TypeDefinition |
int |
getPriority() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptcompareTopublic boolean accept(ProcessingEnvironment processingEnv, DeclaredType type)
DeclaredTypeDefinitionBuildertype is accepted or notaccept in interface DeclaredTypeDefinitionBuilderprocessingEnv - ProcessingEnvironmenttype - typetrue if acceptedpublic TypeDefinition build(ProcessingEnvironment processingEnv, DeclaredType type, Map<String,TypeDefinition> typeCache)
TypeBuilderTypeDefinitionbuild in interface TypeBuilder<DeclaredType>processingEnv - ProcessingEnvironmenttype - typeTypeDefinitionpublic int getPriority()
getPriority in interface PrioritizedCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.