Class FieldInfo
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.FieldInfo
- All Implemented Interfaces:
AnnotatedElement
- Direct Known Subclasses:
ErasedField, FieldBuilder, ReflectedField, RuntimeFieldInfo
-
Field Summary
Fields inherited from class MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation(Class<T> annotationClass) abstract Type<?> final MemberTypeabstract FieldbooleanisAnnotationPresent(Class<? extends Annotation> annotationClass) booleanbooleanvoidtoString()Methods inherited from class MemberInfo
appendGenericSignature, emptyAnnotations, equals, getAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDeclaringType, getDescription, getErasedDescription, getErasedSignature, getModifiers, getName, getReflectedType, getSignature, getSimpleDescription, hashCode, invalidateCaches, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
-
Constructor Details
-
FieldInfo
public FieldInfo()
-
-
Method Details
-
getFieldType
-
getRawField
-
isEnumConstant
public boolean isEnumConstant() -
getMemberType
- Specified by:
getMemberTypein classMemberInfo
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedElement- Overrides:
getAnnotationin classMemberInfo
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotatedElement- Overrides:
getAnnotationsin classMemberInfo
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement- Overrides:
getDeclaredAnnotationsin classMemberInfo
-
isEquivalentTo
- Overrides:
isEquivalentToin classMemberInfo
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceAnnotatedElement- Overrides:
isAnnotationPresentin classMemberInfo
-
getValue
-
setValue
-
toString
- Overrides:
toStringin classMemberInfo
-
appendDescription
- Specified by:
appendDescriptionin classMemberInfo
-
appendBriefDescription
- Specified by:
appendBriefDescriptionin classMemberInfo
-
appendErasedDescription
- Specified by:
appendErasedDescriptionin classMemberInfo
-
appendSimpleDescription
- Specified by:
appendSimpleDescriptionin classMemberInfo
-
appendSignature
- Specified by:
appendSignaturein classMemberInfo
-
appendErasedSignature
- Specified by:
appendErasedSignaturein classMemberInfo
-