T - The type of object defining this propertypublic class MethodAccessedProperty<T> extends Object implements Property<T>
| Constructor and Description |
|---|
MethodAccessedProperty(Method accessorMethod,
String propertyName)
Initialize a reader that uses given
accessorMethod to access a property with given
propertyName. |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
getValue(T target)
Returns the value of the property on given
target. |
public MethodAccessedProperty(Method accessorMethod, String propertyName)
accessorMethod to access a property with given
propertyName.accessorMethod - The method providing the property valuepropertyName - The name of the propertyCopyright © 2010–2025. All rights reserved.