public class FieldMember extends Object implements AnnotatedMember
| Constructor and Description |
|---|
FieldMember(Object instance,
Field field) |
| Modifier and Type | Method and Description |
|---|---|
AnnotatedType |
getAnnotatedType() |
<A extends Annotation> |
getAnnotation(@NotNull Class<A> annotation) |
<A extends Annotation> |
getAnnotationsByType(@NotNull Class<A> annotation) |
Object |
getInstance() |
String |
getName() |
Class<?> |
getType() |
Object |
getValue() |
boolean |
isAnnotationPresent(@NotNull Class<? extends Annotation> annotation) |
boolean |
isIgnored() |
void |
setValue(Object value) |
public boolean isIgnored()
isIgnored in interface AnnotatedMemberpublic void setValue(Object value) throws IllegalAccessException
setValue in interface AnnotatedMemberIllegalAccessExceptionpublic Object getValue() throws IllegalAccessException
getValue in interface AnnotatedMemberIllegalAccessExceptionpublic boolean isAnnotationPresent(@NotNull
@NotNull Class<? extends Annotation> annotation)
isAnnotationPresent in interface AnnotatedMemberpublic <A extends Annotation> List<A> getAnnotationsByType(@NotNull @NotNull Class<A> annotation)
getAnnotationsByType in interface AnnotatedMemberpublic <A extends Annotation> A getAnnotation(@NotNull @NotNull Class<A> annotation)
getAnnotation in interface AnnotatedMemberpublic AnnotatedType getAnnotatedType()
getAnnotatedType in interface AnnotatedMemberpublic Class<?> getType()
getType in interface AnnotatedMemberpublic String getName()
getName in interface AnnotatedMemberpublic Object getInstance()
getInstance in interface AnnotatedMemberCopyright © 2021. All rights reserved.