public final class FieldBuilder extends FieldInfo
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomAnnotation(AnnotationBuilder<? extends java.lang.annotation.Annotation> annotation) |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.Object |
getConstantValue() |
com.strobel.core.ReadOnlyList<AnnotationBuilder<? extends java.lang.annotation.Annotation>> |
getCustomAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
TypeBuilder |
getDeclaringType() |
Type |
getFieldType() |
int |
getModifiers() |
java.lang.String |
getName() |
java.lang.reflect.Field |
getRawField() |
Type |
getReflectedType() |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
appendBriefDescription, appendDescription, appendErasedDescription, appendErasedSignature, appendSignature, appendSimpleDescription, getMemberType, getValue, isEnumConstant, setValue, toStringgetAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDescription, getErasedDescription, getErasedSignature, getSignature, getSimpleDescription, isEquivalentTo, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticpublic void addCustomAnnotation(AnnotationBuilder<? extends java.lang.annotation.Annotation> annotation)
public com.strobel.core.ReadOnlyList<AnnotationBuilder<? extends java.lang.annotation.Annotation>> getCustomAnnotations()
public Type getFieldType()
getFieldType in class FieldInfopublic java.lang.reflect.Field getRawField()
getRawField in class FieldInfopublic java.lang.String getName()
getName in class MemberInfopublic TypeBuilder getDeclaringType()
getDeclaringType in class MemberInfopublic int getModifiers()
getModifiers in class MemberInfopublic java.lang.Object getConstantValue()
public Type getReflectedType()
getReflectedType in class MemberInfopublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation in interface java.lang.reflect.AnnotatedElementgetAnnotation in class FieldInfo@NotNull public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElementgetAnnotations in class FieldInfo@NotNull public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElementgetDeclaredAnnotations in class FieldInfopublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent in interface java.lang.reflect.AnnotatedElementisAnnotationPresent in class FieldInfo