Package com.strobel.reflection
Class ErasedField
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.FieldInfo
com.strobel.reflection.ErasedField
- All Implemented Interfaces:
AnnotatedElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FieldInfo
private final Type
<?> private final Type
<?> Fields inherited from class com.strobel.reflection.MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation
(Class<T> annotationClass) Type
<?> Type
<?> int
getName()
Type
<?> boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) boolean
Methods inherited from class com.strobel.reflection.FieldInfo
appendBriefDescription, appendDescription, appendSignature, appendSimpleDescription, getMemberType, getValue, isEquivalentTo, setValue, toString
Methods inherited from class com.strobel.reflection.MemberInfo
appendGenericSignature, emptyAnnotations, equals, getAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDescription, getErasedDescription, getErasedSignature, getSignature, getSimpleDescription, hashCode, invalidateCaches, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
-
Field Details
-
_baseField
-
_declaringType
-
_fieldType
-
-
Constructor Details
-
ErasedField
-
-
Method Details
-
getFieldType
- Specified by:
getFieldType
in classFieldInfo
-
isEnumConstant
public boolean isEnumConstant()- Overrides:
isEnumConstant
in classFieldInfo
-
getRawField
- Specified by:
getRawField
in classFieldInfo
-
getName
- Specified by:
getName
in classMemberInfo
-
getDeclaringType
- Specified by:
getDeclaringType
in classMemberInfo
-
getReflectedType
- Overrides:
getReflectedType
in classMemberInfo
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in classMemberInfo
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedElement
- Overrides:
getAnnotation
in classFieldInfo
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotatedElement
- Overrides:
getAnnotations
in classFieldInfo
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
- Overrides:
getDeclaredAnnotations
in classFieldInfo
-
isAnnotationPresent
- Specified by:
isAnnotationPresent
in interfaceAnnotatedElement
- Overrides:
isAnnotationPresent
in classFieldInfo
-
appendErasedDescription
- Overrides:
appendErasedDescription
in classFieldInfo
-
appendErasedSignature
- Overrides:
appendErasedSignature
in classFieldInfo
-