public final class RejectionSpec
extends java.lang.Object
implements io.spine.code.gen.java.GeneratedTypeSpec, io.spine.logging.Logging
The generated type extends ThrowableMessage
and encloses an instance of the
corresponding rejection message.
Constructor and Description |
---|
RejectionSpec(io.spine.type.RejectionType rejectionType)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
io.spine.code.java.PackageName |
packageName() |
com.squareup.javapoet.TypeSpec |
typeSpec() |