public class AggregateClassAccessor.AliasPropertyAccessor extends Object implements PropertyAccessor
Modifier and Type | Field and Description |
---|---|
protected ClassAccessor |
accessor |
protected int |
index |
protected String |
name |
copyright
Constructor and Description |
---|
AggregateClassAccessor.AliasPropertyAccessor(String name,
int index,
ClassAccessor accessor) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object obj) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
int |
getModifiers() |
String |
getName() |
Class |
getType() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
void |
set(Object obj,
Object value) |
protected final String name
protected final int index
protected final ClassAccessor accessor
public AggregateClassAccessor.AliasPropertyAccessor(String name, int index, ClassAccessor accessor)
public String getName()
getName
in interface PropertyAccessor
public Class getType()
getType
in interface PropertyAccessor
public int getModifiers()
getModifiers
in interface PropertyAccessor
public Object get(Object obj)
get
in interface PropertyAccessor
public void set(Object obj, Object value)
set
in interface PropertyAccessor
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent
in interface AnnotatedElement
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface AnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement