Package com.strobel.reflection
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 ConstructorList
private FieldList
private TypeList
private MethodList
private TypeList
private final Type
<?> (package private) static final TypeEraser
private static final TypeMapper
<Void> Fields inherited from class com.strobel.reflection.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, Value
Fields inherited from class com.strobel.reflection.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 void
private void
private void
private void
private void
private void
<A extends Annotation>
AgetAnnotation
(Class<A> annotationClass) protected String
protected String
protected FieldList
protected MethodList
protected TypeList
Type
<?> Type
<?> int
getName()
protected Type
<?> boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) boolean
boolean
Methods inherited from class com.strobel.reflection.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, unboundedWildcard
Methods inherited from class com.strobel.reflection.MemberInfo
emptyAnnotations, equals, getAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDescription, getErasedDescription, getErasedSignature, getReflectedType, getSignature, getSimpleDescription, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.reflect.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:
getClassFullName
in classType<T>
-
getClassSimpleName
- Overrides:
getClassSimpleName
in classType<T>
-
getFullName
- Overrides:
getFullName
in classType<T>
-
getInternalName
- Overrides:
getInternalName
in classType<T>
-
getErasedClass
- Overrides:
getErasedClass
in classType<T>
-
getUnderlyingTypeCore
- Overrides:
getUnderlyingTypeCore
in classType<T>
-
getExplicitInterfaces
- Overrides:
getExplicitInterfaces
in classType<T>
-
getBaseType
- Overrides:
getBaseType
in classType<T>
-
getGenericTypeDefinition
- Overrides:
getGenericTypeDefinition
in classType<T>
-
getDeclaringType
- Specified by:
getDeclaringType
in classMemberInfo
-
isGenericType
public boolean isGenericType()- Overrides:
isGenericType
in classType<T>
-
isRawType
public boolean isRawType() -
getTypeBindings
- Overrides:
getTypeBindings
in classType<T>
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in classMemberInfo
-
isAnnotationPresent
- Specified by:
isAnnotationPresent
in interfaceAnnotatedElement
- Overrides:
isAnnotationPresent
in classType<T>
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedElement
- Overrides:
getAnnotation
in classType<T>
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotatedElement
- Overrides:
getAnnotations
in classType<T>
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
- Overrides:
getDeclaredAnnotations
in classType<T>
-
accept
-
getDeclaredConstructors
- Overrides:
getDeclaredConstructors
in classType<T>
-
getDeclaredMethods
- Overrides:
getDeclaredMethods
in classType<T>
-
getDeclaredFields
- Overrides:
getDeclaredFields
in classType<T>
-
getDeclaredTypes
- Overrides:
getDeclaredTypes
in classType<T>
-