Class Getter
java.lang.Object
org.klojang.invoke.Getter
Represents a getter for a single property.
- Author:
- Ayco Holleman
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the property.Class
<?> Returns the type of the property.Reads the value of the property off the specified bean
-
Method Details
-
getProperty
-
getReturnType
-
read
Reads the value of the property off the specified bean- Parameters:
bean
- The bean off which to read the property's value- Returns:
- the value of the property
- Throws:
Throwable
- The unspecifiedThrowable
associated with calls toMethodHandle.invoke
.
-