Package com.strobel.reflection
Class ReflectedField
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.FieldInfo
com.strobel.reflection.ReflectedField
- All Implemented Interfaces:
AnnotatedElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Type
<?> private final Type
<?> private final Field
private final Type
<?> Fields inherited from class com.strobel.reflection.MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER
-
Constructor Summary
ConstructorsConstructorDescriptionReflectedField
(Type<?> declaringType, Type<?> reflectedType, Field rawField, Type<?> fieldType) ReflectedField
(Type<?> declaringType, Field rawField, Type<?> fieldType) -
Method Summary
Methods inherited from class com.strobel.reflection.FieldInfo
appendBriefDescription, appendDescription, appendErasedDescription, appendErasedSignature, appendSignature, appendSimpleDescription, getAnnotation, getAnnotations, getDeclaredAnnotations, getMemberType, getValue, isAnnotationPresent, 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
-
_declaringType
-
_reflectedType
-
_rawField
-
_fieldType
-
-
Constructor Details
-
ReflectedField
-
ReflectedField
-
-
Method Details
-
getRawField
- Specified by:
getRawField
in classFieldInfo
-
getFieldType
- Specified by:
getFieldType
in classFieldInfo
-
isEnumConstant
public boolean isEnumConstant()- Overrides:
isEnumConstant
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
-