Class TypeMirrorFactory
java.lang.Object
org.vesalainen.bcc.model.TypeMirrorFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Map<GenericArrayType, ArrayType> private static Map<Class<?>, TypeMirror> private static Map<Annotation, DeclaredType> private static Map<Member, ExecutableType> private static Map<Type[], DeclaredType> private static Map<ParameterizedType, DeclaredType> private static Map<TypeVariable<? extends GenericDeclaration>, TypeVariable> private static Map<WildcardType, WildcardType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeclaredTypeget(Annotation annotation) static DeclaredTypestatic ExecutableTypeget(Constructor constructor) static ExecutableTypestatic TypeMirrorstatic TypeMirrorgetClassType(Class<?> cls) static DeclaredTypegetDeclaredType(Class<?> element, Class<?>... typeArguments) static DeclaredTypegetDeclaredType(TypeElement element, List<TypeMirror> typeArguments) static ArrayType(package private) static DeclaredTypegetIntersectionType(Type[] bounds) static DeclaredTypestatic PrimitiveTypegetPrimitiveType(String type) static <D extends GenericDeclaration>
TypeVariablegetTypeVariable(TypeVariable<D> typeVar) static WildcardType
-
Field Details
-
declaredTypeAnnotationMap
-
executableTypeMap
-
arrayTypeMap
-
parameterizedTypeMap
-
typeVariableMap
-
wildcardTypeMap
-
classMap
-
intersectionTypeMap
-
-
Constructor Details
-
TypeMirrorFactory
public TypeMirrorFactory()
-
-
Method Details
-
getPrimitiveType
-
getDeclaredType
-
getDeclaredType
-
get
-
get
-
get
-
get
-
get
-
getGenericArrayType
-
getParameterizedType
-
getTypeVariable
-
getWildcardType
-
getClassType
-
getIntersectionType
-