Interface PropertyProvider
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ReflectivePropertyProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Marker interface for objects that provide a list of properties of that object (see
Property).- Since:
- 2022-05-19
- Author:
- miki
-
Method Summary
Modifier and TypeMethodDescriptiongetObjectPropertyDefinitions(Class<T> type, T instance) Builds a list of property definitions for a given object.
-
Method Details
-
getObjectPropertyDefinitions
Builds a list of property definitions for a given object.- Type Parameters:
T- Generic type to enforce bothtypeandinstanceare compatible.- Parameters:
type- Type of the object.instance- An instance of the object. Can benull.- Returns:
- A non-
nulllist ofPropertys that can be empty.
-