@NonnullByDefault
Package org.pkl.config.java.mapper
-
Interface Summary Interface Description Converter<S,T> Converter for a particular source and target type.ConverterFactory A factory forConverters.ValueMapper Automatically converts Pkl objects to Java objects. -
Class Summary Class Description ClassRegistry Describes mappings of Pkl class names to their corresponding Java classes.Conversion<S,T> Describes a conversion from a Pkl source type to a (possibly parameterized) Java target type, performed by the givenConverter.Conversions Predefined conversions for scalar types.ConverterFactories Predefined conversions for composite types (objects, collections, etc.).PObjectToDataObject PObjectToMap Reflection Reflection utilities for implementingConverterFactorys.TypeMapping<S,T extends S> Maps a type requested during conversion to the implementation type to be instantiated.TypeMappings Predefined type mappings that can be registered withValueMapperBuilder.Types A factory for parameterized type literals such asList<String>orMyClass<Foo, Bar>.ValueMapperBuilder Builds aValueMapperconfigured with appropriate conversions, converter factories, and type mappings. -
Exception Summary Exception Description ConversionException Thrown when aValueMapperconversion fails. -
Annotation Types Summary Annotation Type Description Named Names a constructor parameter for Pkl-to-Java object mapping.NonNull Indicates that a type does not acceptnullas a value.