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