sealed class ConstructionSource
How a Value can be constructed. Either a constructor, factory method, or builder.
abstract class Builder : ConstructionSource |
|
class BuilderConstructor : Builder |
|
class BuilderFactory : Builder |
|
class Constructor : ConstructionSource
A Value constructor. |
|
class Factory : ConstructionSource
A Value factory method. |
abstract val constructionElement: ExecutableElement
The executable element to construct the Value. This may be a constructor, factory method, or builder. |
|
abstract val isBuilder: Boolean
If this source is a builder. |
|
abstract val isConstructor: Boolean
If this source is a constructor (either of the value or the builder). |
|
abstract val targetClass: TypeElement
The target Value class to construct. |
fun findBuildMethod(builderClass: TypeElement): ExecutableElement? |
abstract class Builder : ConstructionSource |
|
class Constructor : ConstructionSource
A Value constructor. |
|
class Factory : ConstructionSource
A Value factory method. |