Interface MemberAccessor
-
- All Known Implementing Classes:
LambdaBeanPropertyMemberAccessor,ReflectionBeanPropertyMemberAccessor,ReflectionFieldMemberAccessor,ReflectionMethodMemberAccessor
public interface MemberAccessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectexecuteGetter(Object bean)voidexecuteSetter(Object bean, Object value)<T extends Annotation>
TgetAnnotation(Class<T> annotationClass)As defined inAnnotatedElement.getAnnotation(Class).Class<?>getDeclaringClass()TypegetGenericType()As defined byMethod.getGenericReturnType()andField.getGenericType().StringgetName()StringgetSpeedNote()Class<?>getType()booleansupportSetter()
-
-
-
Method Detail
-
getDeclaringClass
Class<?> getDeclaringClass()
-
getName
String getName()
-
getType
Class<?> getType()
-
getGenericType
Type getGenericType()
As defined byMethod.getGenericReturnType()andField.getGenericType().- Returns:
- never null
-
supportSetter
boolean supportSetter()
-
getSpeedNote
String getSpeedNote()
-
getAnnotation
<T extends Annotation> T getAnnotation(Class<T> annotationClass)
As defined inAnnotatedElement.getAnnotation(Class).
-
-