Skip to content

Commit

Permalink
[Feature] Support related node mapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
meistermeier committed Jan 6, 2023
1 parent 8f8fd34 commit 7c707a1
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -73,10 +73,12 @@ public <T> T convert(MapAccessor mapAccessor, Class<T> type, Class<?> genericTyp
}

/**
* Checks of there is at least one converter for this type or value/type combination registered.
*
* @param value value to check for. Can be null.
* @param type type to check for.
* @param genericTypeParameter generic type if type is generic
* @return is there at least one converter that supports this type or type / value combination.
* @return existence of a matching converter.
*/
public boolean canConvertToJava(Value value, Class<?> type, Class<?> genericTypeParameter) {
for (ValueConverter internalValueConverter : internalValueConverters) {
Expand Down

0 comments on commit 7c707a1

Please sign in to comment.