File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
java/src/main/kotlin/io/spine/validation/java Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import io.spine.protodata.java.lines
3535import io.spine.protodata.java.render.JavaRenderer
3636import io.spine.protodata.render.SourceFile
3737import io.spine.protodata.render.SourceFileSet
38+ import io.spine.protodata.type.TypeSystem
3839import io.spine.tools.code.Java
3940import io.spine.tools.java.codeBlock
4041import io.spine.validate.NonValidated
@@ -74,6 +75,12 @@ import java.util.*
7475 */
7576public class JavaValidationRenderer : JavaRenderer () {
7677
78+ /* *
79+ * Exposes [typeSystem] property, so that [ValidationConstraintsCode] could use it.
80+ */
81+ public override val typeSystem: TypeSystem
82+ get() = super .typeSystem
83+
7784 override fun render (sources : SourceFileSet ) {
7885 // We receive `grpc` and `kotlin` output sources roots here as well.
7986 // As for now, we modify only `java` sources.
You can’t perform that action at this time.
0 commit comments