Class PObjectToMap

    • Constructor Summary

      Constructors 
      Constructor Description
      PObjectToMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<Converter<?,​?>> create​(org.pkl.core.PClassInfo<?> sourceType, java.lang.reflect.Type targetType)
      Returns a converter for the given source and target types, or Optional.empty() if the factory cannot handle the requested types.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PObjectToMap

        public PObjectToMap()
    • Method Detail

      • create

        public java.util.Optional<Converter<?,​?>> create​(org.pkl.core.PClassInfo<?> sourceType,
                                                               java.lang.reflect.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