Package com.strobel.reflection
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 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) abstract Type
<?> final MemberType
abstract Field
boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) boolean
boolean
void
toString()
Methods inherited from class com.strobel.reflection.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:
getMemberType
in classMemberInfo
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedElement
- Overrides:
getAnnotation
in classMemberInfo
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotatedElement
- Overrides:
getAnnotations
in classMemberInfo
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
- Overrides:
getDeclaredAnnotations
in classMemberInfo
-
isEquivalentTo
- Overrides:
isEquivalentTo
in classMemberInfo
-
isAnnotationPresent
- Specified by:
isAnnotationPresent
in interfaceAnnotatedElement
- Overrides:
isAnnotationPresent
in classMemberInfo
-
getValue
-
setValue
-
toString
- Overrides:
toString
in classMemberInfo
-
appendDescription
- Specified by:
appendDescription
in classMemberInfo
-
appendBriefDescription
- Specified by:
appendBriefDescription
in classMemberInfo
-
appendErasedDescription
- Specified by:
appendErasedDescription
in classMemberInfo
-
appendSimpleDescription
- Specified by:
appendSimpleDescription
in classMemberInfo
-
appendSignature
- Specified by:
appendSignature
in classMemberInfo
-
appendErasedSignature
- Specified by:
appendErasedSignature
in classMemberInfo
-