@FunctionalInterface public interface MetadataProvider
PropertyMetadata for a given field.
Used with ReflectivePropertyProvider to obtain more detailed information about a given property.| Modifier and Type | Method and Description |
|---|---|
Collection<PropertyMetadata> |
getMetadata(String name,
Field field,
Method setter,
Method getter)
Collects
PropertyMetadata for a given property. |
Collection<PropertyMetadata> getMetadata(String name, Field field, Method setter, Method getter)
PropertyMetadata for a given property.name - Name of the property.field - A Field that corresponds to the property. Will not be null, but may not be accessible.setter - A Method that is a setter for the given field. May be null if there is no setter.getter - A Method that is a getter for the given field. May be null if there is no getter.null, but possibly empty, collection of PropertyMetadata.Copyright © 2023 Miki. All rights reserved.