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
35
35
import io.spine.protodata.java.render.JavaRenderer
36
36
import io.spine.protodata.render.SourceFile
37
37
import io.spine.protodata.render.SourceFileSet
38
+ import io.spine.protodata.type.TypeSystem
38
39
import io.spine.tools.code.Java
39
40
import io.spine.tools.java.codeBlock
40
41
import io.spine.validate.NonValidated
@@ -74,6 +75,12 @@ import java.util.*
74
75
*/
75
76
public class JavaValidationRenderer : JavaRenderer () {
76
77
78
+ /* *
79
+ * Exposes [typeSystem] property, so that [ValidationConstraintsCode] could use it.
80
+ */
81
+ public override val typeSystem: TypeSystem
82
+ get() = super .typeSystem
83
+
77
84
override fun render (sources : SourceFileSet ) {
78
85
// We receive `grpc` and `kotlin` output sources roots here as well.
79
86
// As for now, we modify only `java` sources.
You can’t perform that action at this time.
0 commit comments