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 |
TypeDefinition |
build(ProcessingEnvironment processingEnv,
DeclaredType type,
Map<String,TypeDefinition> typeCache)
Build the instance of
TypeDefinition |
int |
getPriority() |
acceptcompareTopublic boolean accept(ProcessingEnvironment processingEnv, DeclaredType type)
DeclaredTypeDefinitionBuildertype is accepted or notaccept 在接口中 DeclaredTypeDefinitionBuilderprocessingEnv - ProcessingEnvironmenttype - typetrue if acceptedpublic TypeDefinition build(ProcessingEnvironment processingEnv, DeclaredType type, Map<String,TypeDefinition> typeCache)
TypeBuilderTypeDefinitionbuild 在接口中 TypeBuilder<DeclaredType>processingEnv - ProcessingEnvironmenttype - typeTypeDefinitionpublic int getPriority()
getPriority 在接口中 PrioritizedCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.