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 Object
executeGetter(Object bean)
void
executeSetter(Object bean, Object value)
<T extends Annotation>
TgetAnnotation(Class<T> annotationClass)
As defined inAnnotatedElement.getAnnotation(Class)
.Class<?>
getDeclaringClass()
Type
getGenericType()
As defined byMethod.getGenericReturnType()
andField.getGenericType()
.String
getName()
String
getSpeedNote()
Class<?>
getType()
boolean
supportSetter()
-
-
-
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)
.
-
-