public class SimpleTypeDefinitionBuilder extends Object implements DeclaredTypeDefinitionBuilder
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| 构造器和说明 |
|---|
SimpleTypeDefinitionBuilder() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
accept(ProcessingEnvironment processingEnv,
DeclaredType type)
Test the specified
type is accepted or not |
void |
build(ProcessingEnvironment processingEnv,
DeclaredType type,
TypeDefinition typeDefinition)
Build the instance of
TypeDefinition |
int |
getPriority() |
acceptbuild, buildcompareTopublic boolean accept(ProcessingEnvironment processingEnv, DeclaredType type)
DeclaredTypeDefinitionBuildertype is accepted or notaccept 在接口中 DeclaredTypeDefinitionBuilderprocessingEnv - ProcessingEnvironmenttype - typetrue if acceptedpublic void build(ProcessingEnvironment processingEnv, DeclaredType type, TypeDefinition typeDefinition)
TypeDefinitionBuilderTypeDefinitionbuild 在接口中 TypeDefinitionBuilder<DeclaredType>processingEnv - ProcessingEnvironmenttype - typetypeDefinition - TypeDefinition to be builtpublic int getPriority()
getPriority 在接口中 PrioritizedCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.