Package-level declarations

Types

Link copied to clipboard
fun interface AcceptanceRule<T>

Acceptance rule either says it accepts an object or delegates it to some other rule returning null

Link copied to clipboard

An interface for strategies that delegate the class loading process.

Link copied to clipboard

Delegates class loading to another class loader depending on the given strategy receives parent of this class loader as an argument Usually, strategies should delegate to one of the parents or return null meaning that the given class shouldn't be loaded

Link copied to clipboard

Acceptance rule that has only two answers: yes/no (depending on the acceptsFlag) and "don't know"

Link copied to clipboard
Link copied to clipboard
abstract class ListToMapSerializer<T, K, V>(utilSerializer: KSerializer<Map<K, V>>, mapper: (K, V) -> T, reverseMapper: (T) -> Pair<K, V>) : KSerializer<List<T>>
Link copied to clipboard
class NameAcceptanceRule(val acceptsFlag: Boolean, appliesPredicate: (TypeName) -> Boolean) : FlagAcceptanceRule<TypeName>

Acceptance rule for type names

Link copied to clipboard

Acceptance rule for type names based on pattern. Pattern may consist of any characters and of 3 special combinations:

Link copied to clipboard
abstract class PrimitiveStringPropertySerializer<T : Any>(kClass: KClass<T>, prop: KProperty1<T, String>, ctr: (String) -> T) : KSerializer<T>
Link copied to clipboard
Link copied to clipboard
abstract class StringValueSerializer<T : Any>(kClass: KClass<T>, serializer: (T) -> String = { it.toString() }, deserializer: (String) -> T) : KSerializer<T>

Properties

Link copied to clipboard
val Json.EMPTY: JsonObject
Link copied to clipboard

Functions

Link copied to clipboard

List of acceptance rules:

Link copied to clipboard
fun <T : Comparable<T>, P : Comparable<P>> T.compareByProperties(other: T, vararg properties: KProperty1<T, P?>): Int
Link copied to clipboard
fun <T : Comparable<T>> compareNullable(s1: T?, s2: T?): Int
Link copied to clipboard
fun <T : Comparable<T>, P : Comparable<P>> T.compareProperty(other: T, property: KProperty1<T, P?>): Int
Link copied to clipboard
Link copied to clipboard
fun KClass<*>.isSubclassOfCatching(superType: KClass<*>): Boolean
Link copied to clipboard

Replace all $ substrings in str with corresponding mapping values

Link copied to clipboard
@JvmName(name = "replaceVariables")
fun <T : VariablesSubstitutionAware<T>> Iterable<T>.replaceVariables(mapping: Map<String, String>): List<T>
@JvmName(name = "replaceVariablesString")
fun Iterable<String>.replaceVariables(mapping: Map<String, String>): List<String>
@JvmName(name = "replaceVariablesExecution")
fun Iterable<CodeExecution>.replaceVariables(mapping: Map<String, String>): List<ExecutionCallback<Any?>>
Link copied to clipboard
fun unionAcceptance(vararg result: Boolean?): Boolean?