public static interface EditorConfigurationBuilder.MetadataProvider
Callback for metadata type.
It returns attributes pair which describe each tag. If description is not present map entry can be empty.
When metadata is provided it will override discovered values, eg @Deprecated column into DEPRECATED status
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,EditorConfigurationBuilder.TagMetadata> |
lookup(java.lang.Object source)
Custom provided metadata.
|
java.util.Map<java.lang.String,EditorConfigurationBuilder.TagMetadata> lookup(java.lang.Object source)
Custom provided metadata.
Key represents method or column name. Value describes additional tag information.
If key is provided but it's not found in the target object it will be ignored. If key is missing or value is null, original metadata will be used instead.
source
- metadata source