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
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)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StaticFunctionMapper
public StaticFunctionMapper()
-
-
Method Details
-
isCallableMethod
public static boolean isCallableMethod(java.lang.reflect.Method method) -
isExpectedMethodName
-
maybeForType
- Specified by:
maybeForTypein interfaceValueMapperFactory
-