@SPI(scope=FRAMEWORK) public interface TypeBuilder extends Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| Modifier and Type | Method and Description |
|---|---|
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–2020 The Apache Software Foundation. All rights reserved.