Class ErasedType<T>
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.Type<T>
com.strobel.reflection.ErasedType<T>
- All Implemented Interfaces:
AnnotatedElement, Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Type<?> private ConstructorListprivate FieldListprivate TypeListprivate MethodListprivate TypeListprivate final Type<?> (package private) static final TypeEraserprivate static final TypeMapper<Void> Fields inherited from class Type
Bottom, CACHE, CACHE_LOCK, DefaultBinder, DefaultLookup, Delimiter, EmptyConstructors, EmptyFields, EmptyMembers, EmptyMethods, EmptyObjects, EmptyStrings, EmptyTypes, FilterMethodOverride, FilterName, FilterNameIgnoreCase, FilterRawMember, NullType, PRIMITIVE_TYPES, RESOLVER, TYPE_BINDER, ValueFields inherited from class MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P,R> R accept(TypeVisitor<P, R> typeVisitor, P parameter) private voidprivate voidprivate voidprivate voidprivate voidprivate void<A extends Annotation>
AgetAnnotation(Class<A> annotationClass) /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////protected Stringprotected Stringprotected FieldListprotected MethodListprotected TypeListType<?> Type<?> intgetName()protected Type<?> booleanisAnnotationPresent(Class<? extends Annotation> annotationClass) booleanbooleanMethods inherited from class Type
_appendClassDescription, _appendClassName, _appendClassSignature, _appendErasedClassSignature, appendBriefDescription, appendDescription, appendErasedDescription, appendErasedSignature, appendGenericSignature, appendSignature, appendSimpleDescription, asSuperTypeOf, bottomType, containsGenericParameter, containsGenericParameters, createArrayType, filterMethodBase, filterPreCalculate, findMembers, forName, forName, getCache, getConstructor, getConstructor, getConstructor, getConstructors, getConstructors, getDeclaringMethod, getElementType, getEnumConstants, getEnumNames, getErasedType, getExtendsBound, getField, getField, getFields, getFields, getGenericParameterPosition, getGenericSignature, getGenericTypeParameters, getInterfaces, getKind, getMember, getMember, getMember, getMembers, getMembers, getMembers, getMembers, getMembers, getMembersOfType, getMemberType, getMethod, getMethod, getMethod, getMethods, getMethods, getMethods, getMostSpecificType, getNestedType, getNestedType, getNestedTypes, getNestedTypes, getPackage, getRootElementType, getShortName, getSuperBound, getType, getTypeArguments, getUnderlyingType, hasElementType, hasExtendsBound, hashCode, hasSuperBound, implementsInterface, invalidateCaches, isAbstract, isArray, isAssignableFrom, isBoundedType, isClass, isCompoundType, isEnum, isEquivalentTo, isEquivalentTo, isGenericParameter, isGenericTypeDefinition, isInstance, isInterface, isLocalClass, isNested, isPrimitive, isSubTypeOf, isSynthetic, isUnbounded, isVisible, isWildcardType, list, list, list, makeArrayType, makeArrayType, makeCompoundType, makeCompoundType, makeExtendsWildcard, makeGenericType, makeGenericType, makeGenericTypeCore, makeSuperWildcard, makeWildcard, newInstance, nullType, of, of, substitute, toString, tryFind, unboundedWildcardMethods inherited from class MemberInfo
emptyAnnotations, equals, getAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDescription, getErasedDescription, getErasedSignature, getReflectedType, getSignature, getSimpleDescription, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticMethods inherited from interface Type
getTypeName
-
Field Details
-
GenericEraser
-
_originalType
-
_interfaces
-
_baseType
-
_fields
-
_constructors
-
_methods
-
_nestedTypes
-
UpperBoundMapper
-
-
Constructor Details
-
ErasedType
ErasedType(Type<?> baseType)
-
-
Method Details
-
ensureBaseType
private void ensureBaseType() -
ensureInterfaces
private void ensureInterfaces() -
ensureFields
private void ensureFields() -
ensureConstructors
private void ensureConstructors() -
ensureMethods
private void ensureMethods() -
ensureNestedTypes
private void ensureNestedTypes() -
getName
-
getClassFullName
- Overrides:
getClassFullNamein classType<T>
-
getClassSimpleName
- Overrides:
getClassSimpleNamein classType<T>
-
getFullName
- Overrides:
getFullNamein classType<T>
-
getInternalName
- Overrides:
getInternalNamein classType<T>
-
getErasedClass
- Overrides:
getErasedClassin classType<T>
-
getUnderlyingTypeCore
- Overrides:
getUnderlyingTypeCorein classType<T>
-
getExplicitInterfaces
- Overrides:
getExplicitInterfacesin classType<T>
-
getBaseType
- Overrides:
getBaseTypein classType<T>
-
getGenericTypeDefinition
- Overrides:
getGenericTypeDefinitionin classType<T>
-
getDeclaringType
- Specified by:
getDeclaringTypein classMemberInfo
-
isGenericType
public boolean isGenericType()- Overrides:
isGenericTypein classType<T>
-
isRawType
-
getTypeBindings
- Overrides:
getTypeBindingsin classType<T>
-
getModifiers
public int getModifiers()- Specified by:
getModifiersin classMemberInfo
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceAnnotatedElement- Overrides:
isAnnotationPresentin classType<T>
-
getAnnotation
Description copied from class:Type/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////- Specified by:
getAnnotationin interfaceAnnotatedElement- Overrides:
getAnnotationin classType<T>
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotatedElement- Overrides:
getAnnotationsin classType<T>
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement- Overrides:
getDeclaredAnnotationsin classType<T>
-
accept
-
getDeclaredConstructors
- Overrides:
getDeclaredConstructorsin classType<T>
-
getDeclaredMethods
- Overrides:
getDeclaredMethodsin classType<T>
-
getDeclaredFields
- Overrides:
getDeclaredFieldsin classType<T>
-
getDeclaredTypes
- Overrides:
getDeclaredTypesin classType<T>
-