@SPI(scope=FRAMEWORK) public interface TypeBuilder extends Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
accept(Class<?> clazz)
Whether the build accept the class passed in.
|
TypeDefinition |
build(Type type,
Class<?> clazz,
Map<String,TypeDefinition> typeCache)
Build type definition with the type or class.
|
compareTo, getPriorityboolean accept(Class<?> clazz)
TypeDefinition build(Type type, Class<?> clazz, Map<String,TypeDefinition> typeCache)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.