Package ch.kk7.confij.binding.values
Class StaticFunctionMapper
- java.lang.Object
-
- ch.kk7.confij.binding.values.StaticFunctionMapper
-
- All Implemented Interfaces:
ValueMapperFactory
public class StaticFunctionMapper extends java.lang.Object implements ValueMapperFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStaticFunctionMapper.StaticFunctionclassStaticFunctionMapper.StaticFunctionMapperInstance<T>
-
Constructor Summary
Constructors Constructor Description StaticFunctionMapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisCallableMethod(java.lang.reflect.Method method)static booleanisExpectedMethodName(java.lang.String methodName, BindingType bindingType)java.util.Optional<ValueMapperInstance<?>>maybeForType(BindingType bindingType)
-
-
-
Method Detail
-
isCallableMethod
public static boolean isCallableMethod(java.lang.reflect.Method method)
-
isExpectedMethodName
public static boolean isExpectedMethodName(java.lang.String methodName, BindingType bindingType)
-
maybeForType
public java.util.Optional<ValueMapperInstance<?>> maybeForType(BindingType bindingType)
- Specified by:
maybeForTypein interfaceValueMapperFactory
-
-