public interface TypeManager
Modifier and Type | Method and Description |
---|---|
Type |
bestType(Type preferred,
Class<?> bound) |
Type |
bestType(Type preferred,
Type secondary,
Class<?> bound) |
String |
getConstructorTypeName(Type type) |
List<String> |
getImports() |
String |
getPackage() |
String |
getRawClass(String type) |
String |
getRawClass(Type type) |
String |
getRawTypeName(Type type) |
String |
getVariableTypeName(Type type) |
String |
getWrappedName(Type type) |
boolean |
isColliding(Class<?> clazz) |
boolean |
isErasureHidden(Type type) |
boolean |
isGenericVariable(Type type) |
boolean |
isHidden(Constructor<?> constructor) |
boolean |
isHidden(Method method) |
boolean |
isHidden(Type type) |
boolean |
isNotImported(Class<?> clazz) |
Optional<Type> |
mostSpecialOf(Type... types) |
void |
registerImport(Class<?> clazz) |
void |
registerType(Type type) |
void |
registerTypes(Type... types) |
void |
staticImport(Class<?> type,
String method) |
Type |
wrapHidden(Type type) |
String getPackage()
void registerTypes(Type... types)
void registerType(Type type)
void registerImport(Class<?> clazz)
boolean isHidden(Constructor<?> constructor)
boolean isHidden(Method method)
boolean isHidden(Type type)
boolean isGenericVariable(Type type)
boolean isErasureHidden(Type type)
boolean isColliding(Class<?> clazz)
boolean isNotImported(Class<?> clazz)
Copyright © 2020. All rights reserved.