Class PObjectToMap

java.lang.Object
org.pkl.config.java.mapper.PObjectToMap
All Implemented Interfaces:
ConverterFactory

public final class PObjectToMap extends Object implements ConverterFactory
  • Constructor Details

    • PObjectToMap

      public PObjectToMap()
  • Method Details

    • create

      public Optional<Converter<?,?>> create(org.pkl.core.PClassInfo<?> sourceType, Type targetType)
      Description copied from interface: ConverterFactory
      Returns a converter for the given source and target types, or Optional.empty() if the factory cannot handle the requested types.
      Specified by:
      create in interface ConverterFactory