public static class Keys.MethodProperty extends Object implements PropertyInterface
Constructor and Description |
---|
MethodProperty(Class<?> clazz,
String key,
Method getterMethod,
Method setterMethod) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Class<?> |
getClazz() |
Class<?> |
getDeclaringClass() |
Class<?> |
getGenericClass() |
String |
getName() |
String |
getPath() |
Object |
getValue(Object object) |
boolean |
isFinal() |
void |
setValue(Object object,
Object value) |
public Class<?> getDeclaringClass()
getDeclaringClass
in interface PropertyInterface
public Object getValue(Object object)
getValue
in interface PropertyInterface
public void setValue(Object object, Object value)
setValue
in interface PropertyInterface
public String getName()
getName
in interface PropertyInterface
public String getPath()
getPath
in interface PropertyInterface
public Class<?> getGenericClass()
getGenericClass
in interface PropertyInterface
public Class<?> getClazz()
getClazz
in interface PropertyInterface
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface PropertyInterface
public boolean isFinal()
isFinal
in interface PropertyInterface
Copyright © 2019. All rights reserved.