value-processor / me.tatarka.valueprocessor

Package me.tatarka.valueprocessor

Types

ConstructionSource

sealed class ConstructionSource

How a Value can be constructed. Either a constructor, factory method, or builder.

Properties

class Properties : List<Property<*>>

The properties of the value object. You can either iterator over these directly (ex: for (Property<?> property: properties)) or iterate over a specific sub-set (ex: for (Property.Field field : properties.getFields())).

Property

sealed class Property<out E : Element>

A value object's property. This can either be a public field, getter, or a constructor param.

Value

class Value

Represent a value object with some properties. You can obtain one from one of the ValueCreator methods.

ValueCreator

class ValueCreator

Creates instances of Value from various starting elements.

Exceptions

ElementException

class ElementException : Exception