Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addConversion(Conversion<?, ?>) - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Adds the given conversion.
- addConversions(Collection<Conversion<?, ?>>) - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Adds the given conversions.
- addConverterFactories(Collection<ConverterFactory>) - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Adds the given converter factories.
- addConverterFactory(ConverterFactory) - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Adds the given converter factory.
- addEnvironmentVariable(String, String) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Adds the given environment variable, overriding any environment variable previously added under the same name.
- addEnvironmentVariables(Map<String, String>) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Adds the given environment variables, overriding any environment variables previously added under the same name.
- addExternalProperties(Map<String, String>) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Adds the given external properties, overriding any properties previously set under the same name.
- addExternalProperty(String, String) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Adds the given external property, overriding any property previously set under the same name.
- addTypeMapping(TypeMapping<?, ?>) - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Adds the given type mapping.
- addTypeMappings(Collection<TypeMapping<?, ?>>) - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Adds the given type mappings.
- all - Static variable in class org.pkl.config.java.mapper.Conversions
-
All conversions defined in this class.
- all - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
All conversions defined in this class.
- all - Static variable in class org.pkl.config.java.mapper.TypeMappings
-
All type mappings defined in this class.
- applyFromProject(Project) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the project for the evaluator, and applies any settings if set.
- arrayOf(Class<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates an array type with the given element type.
- arrayOf(Type) - Static method in class org.pkl.config.java.mapper.Types
- arrayOf(JavaType<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates an array type with the given element type.
- as(Class<T>) - Method in interface org.pkl.config.java.Config
-
Converts this node's value to the given
Class. - as(Type) - Method in interface org.pkl.config.java.Config
-
Converts this node's value to the given
Type. - as(JavaType<T>) - Method in interface org.pkl.config.java.Config
-
Converts this node's value to the given
JavaType.
B
- build() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Builds a config evaluator whose underlying module evaluator and value mapper is built using the configured builders.
- build() - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Builds a mapper with the configured conversions, converter factories, and type mappings.
C
- ClassRegistry - Class in org.pkl.config.java.mapper
-
Describes mappings of Pkl class names to their corresponding Java classes.
- close() - Method in interface org.pkl.config.java.ConfigEvaluator
-
Releases all resources held by this evaluator.
- collectionOf(Class<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Collectiontype with the given element type. - collectionOf(Type) - Static method in class org.pkl.config.java.mapper.Types
- collectionOf(JavaType<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Collectiontype with the given element type. - collections - Static variable in class org.pkl.config.java.mapper.TypeMappings
-
Type mappings for collection types.
- Config - Interface in org.pkl.config.java
-
A root, intermediate, or leaf node in a configuration tree.
- ConfigEvaluator - Interface in org.pkl.config.java
-
An evaluator that returns a
Configtree. - ConfigEvaluatorBuilder - Class in org.pkl.config.java
-
A builder for
ConfigEvaluators. - Conversion<S,
T> - Class in org.pkl.config.java.mapper -
Describes a conversion from a Pkl source type to a (possibly parameterized) Java target type, performed by the given
Converter. - ConversionException - Exception Class in org.pkl.config.java.mapper
-
Thrown when a
ValueMapperconversion fails. - ConversionException(String) - Constructor for exception class org.pkl.config.java.mapper.ConversionException
- ConversionException(String, Throwable) - Constructor for exception class org.pkl.config.java.mapper.ConversionException
- Conversions - Class in org.pkl.config.java.mapper
-
Predefined conversions for scalar types.
- convert(S, ValueMapper) - Method in interface org.pkl.config.java.mapper.Converter
-
Converts the given value.
- converter - Variable in class org.pkl.config.java.mapper.Conversion
- Converter<S,
T> - Interface in org.pkl.config.java.mapper -
Converter for a particular source and target type.
- ConverterFactories - Class in org.pkl.config.java.mapper
-
Predefined conversions for composite types (objects, collections, etc.).
- ConverterFactory - Interface in org.pkl.config.java.mapper
-
A factory for
Converters. - create(PClassInfo<?>, Type) - Method in interface org.pkl.config.java.mapper.ConverterFactory
-
Returns a converter for the given source and target types, or
Optional.empty()if the factory cannot handle the requested types. - create(PClassInfo<?>, Type) - Method in class org.pkl.config.java.mapper.PObjectToDataObject
- create(PClassInfo<?>, Type) - Method in class org.pkl.config.java.mapper.PObjectToMap
E
- equals(Object) - Method in class org.pkl.config.java.JavaType
- equals(Object) - Method in class org.pkl.config.java.mapper.TypeMapping
- evaluate(ModuleSource) - Method in interface org.pkl.config.java.ConfigEvaluator
-
Evaluates the given module source into a
Configtree.
F
- fromPklBinary(byte[]) - Static method in interface org.pkl.config.java.Config
-
Decode a config from the supplied byte array using a preconfigured
ValueMapper. - fromPklBinary(byte[], ValueMapper) - Static method in interface org.pkl.config.java.Config
-
Decode a config from the supplied byte array.
- fromPklBinary(InputStream) - Static method in interface org.pkl.config.java.Config
-
Decode a config from the supplied
InputStream. - fromPklBinary(InputStream, ValueMapper) - Static method in interface org.pkl.config.java.Config
-
Decode a config from the supplied
InputStreamusing a preconfiguredValueMapper.
G
- Generated - Annotation Interface in org.pkl.config.java
-
Indicates that the annotated class was generated by Pkl.
- get(String) - Method in interface org.pkl.config.java.Config
-
Returns the child node with the given unqualified name.
- getAllowedModules() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the set of patterns to be allowed when importing modules.
- getAllowedResources() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the set of patterns to be allowed when reading resources.
- getArrayElementType(Type) - Static method in class org.pkl.config.java.mapper.Reflection
-
Returns the (possibly parameterized) element type for the given array type.
- getChildName() - Method in exception class org.pkl.config.java.NoSuchChildException
- getConversions() - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Returns the currently set conversions.
- getConverter(PClassInfo<S>, Class<T>) - Method in interface org.pkl.config.java.mapper.ValueMapper
-
Same as
ValueMapper.getConverter(PClassInfo, Type), except that the target type is narrowed fromTypetoClassto allow for better type inference. - getConverter(PClassInfo<S>, Type) - Method in interface org.pkl.config.java.mapper.ValueMapper
-
Returns the converter with the given source and target types.
- getConverterFactories() - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Returns the currently set converter factories.
- getEnvironmentVariables() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the currently set environment variables.
- getEvaluatorBuilder() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the currently set module evaluator builder.
- getExactParameterTypes(Executable, Type) - Static method in class org.pkl.config.java.mapper.Reflection
-
Returns the exact parameter types of the given method or constructor, taking into account type arguments of the given declaring type.
- getExactSubtype(Type, Class<?>) - Static method in class org.pkl.config.java.mapper.Reflection
-
Returns a parameterization of the given raw subtype, taking into account type arguments of the given supertype.
- getExactSupertype(Type, Class<?>) - Static method in class org.pkl.config.java.mapper.Reflection
-
Returns a parameterization of the given raw supertype, taking into account type arguments of the given subtype.
- getExternalProperties() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the currently set external properties.
- getHttpClient() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the currently set HTTP client.
- getJavaName() - Method in exception class org.pkl.config.java.InvalidMappingException
- getMessage() - Method in exception class org.pkl.config.java.InvalidMappingException
- getParameterNames(Constructor<?>) - Method in class org.pkl.config.java.mapper.PObjectToDataObject
- getPklName() - Method in exception class org.pkl.config.java.InvalidMappingException
- getQualifiedName() - Method in interface org.pkl.config.java.Config
-
The dot-separated name of this node.
- getRawValue() - Method in interface org.pkl.config.java.Config
-
The raw value of this node, as provided by
Evaluator. - getRootDir() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the currently set root directory, if set.
- getSecurityManager() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the currently set security manager.
- getStackFrameTransformer() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the currently set stack frame transformer.
- getTimeout() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the currently set evaluation timeout.
- getType() - Method in class org.pkl.config.java.JavaType
-
Returns the underlying
Type. - getTypeMappings() - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Returns the currently set type mappings.
- getValueMapper() - Method in interface org.pkl.config.java.ConfigEvaluator
-
Returns the underlying value mapper of this evaluator.
- getValueMapperBuilder() - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Returns the currently set value mapper builder.
H
- hashCode() - Method in class org.pkl.config.java.JavaType
- hashCode() - Method in class org.pkl.config.java.mapper.TypeMapping
I
- identities - Static variable in class org.pkl.config.java.mapper.Conversions
-
Identity conversions used when the Java representation of the Pkl type matches the target type or when the target type is
Object. - identity() - Static method in interface org.pkl.config.java.mapper.Converter
-
Returns an identity converter for the requested type.
- implementationType - Variable in class org.pkl.config.java.mapper.TypeMapping
- InvalidMappingException - Exception Class in org.pkl.config.java
-
Thrown by
Config.as(Type)when the determined Java class for a Pkl value cannot be found on the classpath. - InvalidMappingException(String, String, Exception) - Constructor for exception class org.pkl.config.java.InvalidMappingException
- isMissingTypeArguments(Type) - Static method in class org.pkl.config.java.mapper.Reflection
- iterableOf(Class<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates an
Iterabletype with the given element type. - iterableOf(Type) - Static method in class org.pkl.config.java.mapper.Types
- iterableOf(JavaType<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates an
Iterabletype with the given element type.
J
- JavaType<T> - Class in org.pkl.config.java
-
Runtime representation of a possibly parameterized Java type.
- JavaType() - Constructor for class org.pkl.config.java.JavaType
L
- listOf(Class<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Listtype with the given element type. - listOf(Type) - Static method in class org.pkl.config.java.mapper.Types
- listOf(JavaType<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Listtype with the given element type.
M
- map(S, Class<T>) - Method in interface org.pkl.config.java.mapper.ValueMapper
-
Same as
ValueMapper.map(Object, Type), except that the target type is narrowed fromTypetoClassto allow for better type inference. - map(S, Type) - Method in interface org.pkl.config.java.mapper.ValueMapper
-
Converts the given Pkl object to the given Java target type.
- mapOf(Class<K>, Class<V>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Maptype with the given key and value types. - mapOf(Type, Type) - Static method in class org.pkl.config.java.mapper.Types
- mapOf(JavaType<K>, JavaType<V>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Maptype with the given key and value types. - misc - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversions that don't fit any other category.
N
- Named - Annotation Interface in org.pkl.config.java.mapper
-
Names a constructor parameter for Pkl-to-Java object mapping.
- NonNull - Annotation Interface in org.pkl.config.java.mapper
-
Indicates that a type does not accept
nullas a value. - normalize(Type) - Static method in class org.pkl.config.java.mapper.Reflection
-
Returns the normalized form of the given type.
- NoSuchChildException - Exception Class in org.pkl.config.java
-
Thrown by
Config.get(java.lang.String)when a child node with the given name does not exist, or when the current config node is a leaf node. - NoSuchChildException(String, String) - Constructor for exception class org.pkl.config.java.NoSuchChildException
- numeric - Static variable in class org.pkl.config.java.mapper.Conversions
-
Numeric conversions.
O
- of(Class<S>, Class<T>) - Static method in class org.pkl.config.java.mapper.TypeMapping
- of(Class<T>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
JavaTypefor the givenClass. - of(Type) - Static method in class org.pkl.config.java.JavaType
-
Creates a
JavaTypefor the givenType. - of(PClassInfo<S>, Class<T>, Converter<? super S, ? extends T>) - Static method in class org.pkl.config.java.mapper.Conversion
-
Creates a conversion from the given Pkl source type to the given non-parameterized Java type, using the given converter.
- of(PClassInfo<S>, Type, Converter<? super S, ? extends T>) - Static method in class org.pkl.config.java.mapper.Conversion
-
Creates a conversion from the given Pkl source type to the given (possibly parameterized) Java type, using the given converter.
- optionalOf(Class<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates an
Optionaltype with the given element type. - optionalOf(Type) - Static method in class org.pkl.config.java.mapper.Types
- optionalOf(JavaType<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates an
Optionaltype with the given element type. - org.pkl.config.java - package org.pkl.config.java
- org.pkl.config.java.mapper - package org.pkl.config.java.mapper
P
- pairOf(Class<F>, Class<S>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Pairtype with the given first and second element types. - pairOf(Type, Type) - Static method in class org.pkl.config.java.mapper.Types
- pairOf(JavaType<F>, JavaType<S>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Pairtype with the given first and second element types. - pAnyToOptional - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
Conversion from any Pkl value to
Optional. - parameterizedType(Class<?>, Type...) - Static method in class org.pkl.config.java.mapper.Types
- pCollectionToArray - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
Conversion from
pkl.base#Collectionto Java primitive or object array. - pCollectionToCollection - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
Conversion from
pkl.base#CollectiontoCollection. - pDurationToDuration - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#DurationtoDuration. - pFloatToBigDecimal - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#FloattoBigDecimal. - pFloatToFloat - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#FloattoFloat. - pIntToBigDecimal - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#InttoBigDecimal. - pIntToBigInteger - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#InttoBigInteger. - pIntToByte - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#InttoByte. - pIntToDouble - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#InttoDouble. - pIntToFloat - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#InttoFloat. - pIntToInteger - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#InttoInteger. - pIntToShort - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#InttoShort. - pMapToMap - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
Conversion from
pkl.base#MaptoMap. - pNullToAny - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
Conversion from
pkl.base#Nullto any non-primitive type. - pObjectToDataObject - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
Conversion from Pkl module or object to Java data object.
- PObjectToDataObject - Class in org.pkl.config.java.mapper
- PObjectToDataObject() - Constructor for class org.pkl.config.java.mapper.PObjectToDataObject
- pObjectToMap - Static variable in class org.pkl.config.java.mapper.ConverterFactories
- PObjectToMap - Class in org.pkl.config.java.mapper
- PObjectToMap() - Constructor for class org.pkl.config.java.mapper.PObjectToMap
- pObjectToPObject - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
Identity conversion for
PObject. - pPairToPair - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
Conversion from
pkl.base#PairtoPair. - preconfigured() - Static method in interface org.pkl.config.java.ConfigEvaluator
-
Shorthand for
ConfigEvaluatorBuilder.preconfigured().build(). - preconfigured() - Static method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Creates a builder with preconfigured module evaluator and value mapper builders.
- preconfigured() - Static method in interface org.pkl.config.java.mapper.ValueMapper
-
Shorthand for
ValueMapperBuilder.preconfigured().build(). - preconfigured() - Static method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Creates a builder preconfigured with all conversions, converter factories, and type mappings defined in this module.
- pRegexToString - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#RegextoString. - pStringToCharacter - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#StringtoCharacter. - pStringToEnum - Static variable in class org.pkl.config.java.mapper.ConverterFactories
-
Conversion from
pkl.base#Stringto Java Enum type. - pStringToFile - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#StringtoFile. - pStringToPath - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#StringtoPath. - pStringToPattern - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#StringtoPattern. - pStringToURI - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#StringtoURI. - pStringToURL - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.base#StringtoURL. - pStringToVersion - Static variable in class org.pkl.config.java.mapper.Conversions
- pVersionToString - Static variable in class org.pkl.config.java.mapper.Conversions
- pVersionToVersion - Static variable in class org.pkl.config.java.mapper.Conversions
-
Conversion from
pkl.semver#VersiontoVersion.
R
- Reflection - Class in org.pkl.config.java.mapper
-
Reflection utilities for implementing
ConverterFactorys. - requestedType - Variable in class org.pkl.config.java.mapper.TypeMapping
S
- selectConstructor(Class<?>) - Method in class org.pkl.config.java.mapper.PObjectToDataObject
- setAllowedModules(Collection<Pattern>) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the set of URI patterns to be allowed when importing modules.
- setAllowedResources(Collection<Pattern>) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the set of URI patterns to be allowed when reading resources.
- setConversions(Collection<Conversion<?, ?>>) - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Removes any existing conversions, then adds the given conversions.
- setConverterFactories(Collection<ConverterFactory>) - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Removes any existing converter factories, then adds the given factories.
- setEnvironmentVariables(Map<String, String>) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Removes any existing environment variables, then adds the given environment variables.
- setEvaluatorBuilder(EvaluatorBuilder) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the underlying module evaluator builder.
- setExternalProperties(Map<String, String>) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Removes any existing external properties, then adds the given properties.
- setHttpClient(HttpClient) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the HTTP Client to be used.
- setOf(Class<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Settype with the given element type. - setOf(Type) - Static method in class org.pkl.config.java.mapper.Types
- setOf(JavaType<E>) - Static method in class org.pkl.config.java.JavaType
-
Creates a
Settype with the given element type. - setProjectDependencies(DeclaredDependencies) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the project for the evaluator, without applying evaluator settings in the project.
- setRootDir(Path) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the root directory, which restricts access to file-based modules and resources located under this directory.
- setSecurityManager(SecurityManager) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the given security manager, replacing any previously set security manager.
- setStackFrameTransformer(StackFrameTransformer) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the given stack frame transformer, replacing any previously set transformer.
- setTimeout(Duration) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets an evaluation timeout to be enforced by the
ConfigEvaluator'sevaluatemethods. - setTypeMappings(Collection<TypeMapping<?, ?>>) - Method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Removes any existing type mappings, then adds the given mappings.
- setValueMapper(ValueMapper) - Method in interface org.pkl.config.java.ConfigEvaluator
-
Returns a new config evaluator with the same underlying evaluator and the given value mapper.
- setValueMapperBuilder(ValueMapperBuilder) - Method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Sets the underlying value mapper builder.
- sourceType - Variable in class org.pkl.config.java.mapper.Conversion
T
- targetType - Variable in class org.pkl.config.java.mapper.Conversion
- toBuilder() - Method in interface org.pkl.config.java.mapper.ValueMapper
-
Returns a value mapper builder that, unless further configured, will build value mappers with the same configuration as this value mapper.
- toRawType(Type) - Static method in class org.pkl.config.java.mapper.Reflection
-
Returns the raw (erased) type for the given parameterized type, type bound for the given wildcard type, or the given type otherwise.
- toString() - Method in class org.pkl.config.java.JavaType
- toString() - Method in class org.pkl.config.java.mapper.TypeMapping
- toWrapperType(Class<T>) - Static method in class org.pkl.config.java.mapper.Reflection
-
Returns the wrapper type for the given primitive type.
- tryLoadClass(String) - Static method in class org.pkl.config.java.mapper.Reflection
-
Returns the class with the given fully qualified name, or
nullif a class with the given name cannot be found. - TypeMapping<S,
T> - Class in org.pkl.config.java.mapper -
Maps a type requested during conversion to the implementation type to be instantiated.
- TypeMappings - Class in org.pkl.config.java.mapper
-
Predefined type mappings that can be registered with
ValueMapperBuilder. - Types - Class in org.pkl.config.java.mapper
-
A factory for parameterized type literals such as
List<String>orMyClass<Foo, Bar>.
U
- unconfigured() - Static method in class org.pkl.config.java.ConfigEvaluatorBuilder
-
Creates a builder with unconfigured module evaluator and value mapper builders.
- unconfigured() - Static method in class org.pkl.config.java.mapper.ValueMapperBuilder
-
Creates a builder without any preconfigured conversions, converter factories, or type mappings.
V
- value() - Element in annotation interface org.pkl.config.java.mapper.Named
- ValueMapper - Interface in org.pkl.config.java.mapper
-
Automatically converts Pkl objects to Java objects.
- ValueMapperBuilder - Class in org.pkl.config.java.mapper
-
Builds a
ValueMapperconfigured with appropriate conversions, converter factories, and type mappings.
W
- when(Predicate<Type>) - Method in interface org.pkl.config.java.mapper.ConverterFactory
-
Returns a new factory that restricts use of this factory to target types for which the given predicate holds.
All Classes and Interfaces|All Packages|Serialized Form