public class MethodMember extends Object implements AnnotatedMember
| Constructor and Description |
|---|
MethodMember(Object instance,
Method setter,
Method getter) |
| Modifier and Type | Method and Description |
|---|---|
AnnotatedType |
getAnnotatedType() |
<A extends Annotation> |
getAnnotation(Class<A> annotation) |
<A extends Annotation> |
getAnnotationsByType(Class<A> annotation) |
Object |
getInstance() |
String |
getName() |
Class<?> |
getType() |
Object |
getValue() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotation) |
void |
setValue(Object value) |
public void setValue(Object value) throws IllegalAccessException, InvocationTargetException
setValue in interface AnnotatedMemberIllegalAccessExceptionInvocationTargetExceptionpublic Object getValue() throws IllegalAccessException, InvocationTargetException
getValue in interface AnnotatedMemberIllegalAccessExceptionInvocationTargetExceptionpublic boolean isAnnotationPresent(Class<? extends Annotation> annotation)
isAnnotationPresent in interface AnnotatedMemberpublic <A extends Annotation> List<A> getAnnotationsByType(Class<A> annotation)
getAnnotationsByType in interface AnnotatedMemberpublic <A extends Annotation> A getAnnotation(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.