public class PrimitiveTypeDefinitionBuilder extends Object implements TypeBuilder<PrimitiveType>
TypeBuilder 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 |
TypeDefinition |
build(ProcessingEnvironment processingEnv,
PrimitiveType type,
Map<String,TypeDefinition> typeCache)
Build the instance of
TypeDefinition |
int |
getPriority() |
compareTopublic boolean accept(ProcessingEnvironment processingEnv, TypeMirror type)
TypeBuildertype is accepted or notaccept 在接口中 TypeBuilder<PrimitiveType>processingEnv - ProcessingEnvironmenttype - typetrue if acceptedpublic TypeDefinition build(ProcessingEnvironment processingEnv, PrimitiveType type, Map<String,TypeDefinition> typeCache)
TypeBuilderTypeDefinitionbuild 在接口中 TypeBuilder<PrimitiveType>processingEnv - ProcessingEnvironmenttype - typeTypeDefinitionpublic int getPriority()
getPriority 在接口中 PrioritizedCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.