public class MethodsCache
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.function.Function |
getGetter(java.lang.String property) |
static MethodsCache |
getOrCreate(java.lang.Class clazz) |
java.util.function.BiConsumer |
getSetter(java.lang.String property) |
public static MethodsCache getOrCreate(java.lang.Class clazz)
public java.util.function.Function getGetter(java.lang.String property)
property
- name of property associated with getterFunction
which represents getterjava.lang.IllegalArgumentException
- if getter for property not foundpublic java.util.function.BiConsumer getSetter(java.lang.String property)
property
- name of property associated with setterBiConsumer
which represents setterjava.lang.IllegalArgumentException
- if setter for property not found