Package org.pkl.config.java.mapper
Class PObjectToDataObject
java.lang.Object
org.pkl.config.java.mapper.PObjectToDataObject
- All Implemented Interfaces:
ConverterFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a converter for the given source and target types, orOptional.empty()if the factory cannot handle the requested types.getParameterNames(Constructor<?> constructor) protected Optional<Constructor<?>> selectConstructor(Class<?> clazz) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pkl.config.java.mapper.ConverterFactory
when
-
Constructor Details
-
PObjectToDataObject
protected PObjectToDataObject()
-
-
Method Details
-
create
public final Optional<Converter<?,?>> create(org.pkl.core.PClassInfo<?> sourceType, Type targetType) Description copied from interface:ConverterFactoryReturns a converter for the given source and target types, orOptional.empty()if the factory cannot handle the requested types.- Specified by:
createin interfaceConverterFactory
-
selectConstructor
-
getParameterNames
-