, S : Message> : JavaRe
* Renders the code traversing all the views calling [doRender], if
* the rendering is [enabled][isEnabled] by [settings].
*
- * If the method [isEnabled] returns `false` does nothing.
+ * If the method [isEnabled] returns `false`, does nothing.
*/
override fun render(sources: SourceFileSet) {
this.sources = sources
diff --git a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/BaseRenderer.kt b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/BaseRenderer.kt
index 99559872e2..99188bf93f 100644
--- a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/BaseRenderer.kt
+++ b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/BaseRenderer.kt
@@ -30,7 +30,7 @@ import com.google.protobuf.Empty
import io.spine.base.EntityState
/**
- * An abstract base for renders that do not have settings.
+ * An abstract base for renderers that do not have settings.
*
* @param V the type of the view state that the renderer uses for code generation.
*
diff --git a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/CreateNestedClass.kt b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/CreateNestedClass.kt
index 8d4aa3b9b7..0d883ac4ad 100644
--- a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/CreateNestedClass.kt
+++ b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/CreateNestedClass.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -91,7 +91,7 @@ public abstract class CreateNestedClass(
/**
* Creates the constructor for the class.
*
- * Default implementation creates a parameterless private constructor.
+ * The default implementation creates a parameterless private constructor.
*/
protected open fun createConstructor(cls: PsiClass): PsiMethod {
val ctor = elementFactory.createPrivateConstructor(
@@ -102,7 +102,7 @@ public abstract class CreateNestedClass(
}
/**
- * Calls [tuneClass] and the inserts the tuned class into the message class.
+ * Calls [tuneClass] and inserts the tuned class into the message class.
*/
protected override fun doRender() {
tuneClass()
@@ -121,7 +121,7 @@ public abstract class CreateNestedClass(
/**
* Generates an annotation to be added for the created class.
*
- * Overriding methods may return custom annotation or `null`, if no annotation is necessary.
+ * Overriding methods may return a custom annotation or `null`, if no annotation is necessary.
*/
protected abstract fun createAnnotation(): PsiAnnotation?
diff --git a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/MessageAction.kt b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/MessageAction.kt
index 277b75ae37..dac3dc151c 100644
--- a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/MessageAction.kt
+++ b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/MessageAction.kt
@@ -91,7 +91,7 @@ public abstract class MessageAction(
protected val messageJavadocRef: String = "{@link ${messageClass.simpleName}}"
/**
- * Adds a nested class the top class of the given [file].
+ * Adds a nested class to the top class of the given [file].
*/
@Suppress("TooGenericExceptionCaught") // ... to log diagnostic.
override fun render() {
diff --git a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/TypeListRenderer.kt b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/TypeListRenderer.kt
index 15792ef58a..ccb89698cc 100644
--- a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/TypeListRenderer.kt
+++ b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/render/TypeListRenderer.kt
@@ -35,12 +35,12 @@ import io.spine.tools.compiler.render.TypeListActions
import io.spine.tools.code.Java
/**
- * An abstract base for Java renders handling message types.
+ * An abstract base for Java renderers handling message types.
*
* This class applies multiple render actions to multiple types.
* For applying rendering actions to one type, please see [TypeRenderer].
*
- * @param V The type of the view state that gathers messages types served by this renderer.
+ * @param V The type of the view state that gathers message types served by this renderer.
* The type is an [EntityState] that has [File] as its identifier and
* implements the [TypeListActions] interface.
* @param S The type of the settings used by the renderer.
@@ -52,7 +52,7 @@ public abstract class TypeListRenderer : AbstractRenderer(
/**
* Implement this method to render the code for the given entity state [type]
- * the source code of which present in the given [file].
+ * the source code of which is present in the given [file].
*/
protected abstract fun doRender(type: MessageType, file: SourceFile)
diff --git a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/style/PsiJavaCodeStyleFormatter.kt b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/style/PsiJavaCodeStyleFormatter.kt
index dff582b71e..a54a7f34f1 100644
--- a/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/style/PsiJavaCodeStyleFormatter.kt
+++ b/jvm/src/main/kotlin/io/spine/tools/compiler/jvm/style/PsiJavaCodeStyleFormatter.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,10 +45,10 @@ import io.spine.tools.psi.java.Parser
import io.spine.tools.psi.java.execute
/**
- * Reformats Java source code files using settings passed as [JavaCodeStyle] instance.
+ * Reformats Java source code files using settings passed as a [JavaCodeStyle] instance.
*
* If no settings are passed, default Java code style settings used in Spine SDK are applied.
- *
+ *
* @see javaCodeStyleDefaults
* @see PalantirJavaFormatter
*/
diff --git a/jvm/src/main/proto/spine/compiler/jvm/style.proto b/jvm/src/main/proto/spine/compiler/jvm/style.proto
index 6015c1de55..599da79133 100644
--- a/jvm/src/main/proto/spine/compiler/jvm/style.proto
+++ b/jvm/src/main/proto/spine/compiler/jvm/style.proto
@@ -61,7 +61,7 @@ message InnerClassImports {
repeated string exclude = 2;
}
-// Settings for on-demand or start import (`*`) to be used instead of
+// Settings for on-demand or star import (`*`) to be used instead of
// individual import statements in a Java file.
message ImportOnDemand {
diff --git a/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/annotation/ModifiedTypeAnnotationSpec.kt b/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/annotation/ModifiedTypeAnnotationSpec.kt
index d424aaae8a..00a69b0473 100644
--- a/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/annotation/ModifiedTypeAnnotationSpec.kt
+++ b/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/annotation/ModifiedTypeAnnotationSpec.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -78,7 +78,7 @@ internal class ModifiedTypeAnnotationSpec : WithSourceFileSet() {
@BeforeEach
fun freezeTime() {
- // Have time shifted, event when testing at UTC.
+ // Have time shifted, even when testing at UTC.
frozenTime = ZonedDateTime.now(ZoneId.of("Europe/Istanbul"))
val timeProvider = FrozenPartyAtTimezone(frozenTime!!)
Time.setProvider(timeProvider)
diff --git a/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/file/BeforeNestedTypeDeclarationSpec.kt b/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/file/BeforeNestedTypeDeclarationSpec.kt
index 36859b7496..146a7657e9 100644
--- a/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/file/BeforeNestedTypeDeclarationSpec.kt
+++ b/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/file/BeforeNestedTypeDeclarationSpec.kt
@@ -94,7 +94,7 @@ class BeforeNestedTypeDeclarationSpec {
}
/**
- * Prepares test environment for the integration tests that use
+ * Prepares the test environment for the integration tests that use
* [BeforePrimaryDeclaration] for adding the [Generated] annotation.
*/
companion object {
diff --git a/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/file/BeforePrimaryDeclarationSpec.kt b/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/file/BeforePrimaryDeclarationSpec.kt
index e494f4fb7b..6a520f990f 100644
--- a/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/file/BeforePrimaryDeclarationSpec.kt
+++ b/jvm/src/test/kotlin/io/spine/tools/compiler/jvm/file/BeforePrimaryDeclarationSpec.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -73,7 +73,7 @@ class BeforePrimaryDeclarationSpec {
}
/**
- * Prepares test environment for the integration tests that use
+ * Prepares the test environment for the integration tests that use
* [BeforePrimaryDeclaration] for adding the [Generated] annotation.
*/
companion object {
@@ -113,8 +113,8 @@ class BeforePrimaryDeclarationSpec {
}
/**
- * Integration tests for using `BeforePrimaryDeclaration` in a pipeline which
- * annotates top level types with the [Generated] annotation.
+ * Integration tests for using `BeforePrimaryDeclaration` in a pipeline that
+ * annotates top-level types with the [Generated] annotation.
* See the companion object for the pipeline definition.
*/
@Nested inner class
@@ -161,11 +161,11 @@ class BeforePrimaryDeclarationSpec {
private const val PACKAGE_NAME = "given.java.file"
private val classSource = """
- /* File header comment. */
+ /* File header comment. */
package $PACKAGE_NAME;
- /**
- * Top level class Javadoc.
+ /**
+ * Top level class Javadoc.
*/
public class TopLevelClass {
@@ -182,7 +182,7 @@ private val interfaceSource = """
""".ti()
private val enumSource = """
- // File header comment.
+ // File header comment.
package $PACKAGE_NAME;
public enum TopLevelEnum { ONE, TWO }
""".ti()
diff --git a/params/src/main/kotlin/io/spine/tools/compiler/params/Parameter.kt b/params/src/main/kotlin/io/spine/tools/compiler/params/Parameter.kt
index 89edc02f38..3c0535adda 100644
--- a/params/src/main/kotlin/io/spine/tools/compiler/params/Parameter.kt
+++ b/params/src/main/kotlin/io/spine/tools/compiler/params/Parameter.kt
@@ -52,12 +52,12 @@ public sealed class Parameter(
/**
* A short name of the parameter, which conventionally comes with the `-` prefix
- * if the short name is one letter, and with `--` prefix for two or more letters.
+ * if the short name is one letter, and with the `--` prefix for two or more letters.
*/
public val shortName: String,
/**
- * Description of the parameter with the usage instructions which
+ * Description of the parameter with the usage instructions that
* could be passed as a raw string.
*/
help: String
diff --git a/params/src/main/proto/spine/compiler/params/pipeline_parameters.proto b/params/src/main/proto/spine/compiler/params/pipeline_parameters.proto
index fc57e9e564..6c5e1b57de 100644
--- a/params/src/main/proto/spine/compiler/params/pipeline_parameters.proto
+++ b/params/src/main/proto/spine/compiler/params/pipeline_parameters.proto
@@ -77,7 +77,7 @@ message PipelineParameters {
// `target_root` directories.
//
// Source and target directories are paired up according to the order they
- // are provided, e.g., the files from first source root are written to the first
+ // are provided, e.g., the files from the first source root are written to the first
// target root and so on.
//
// When specifying multiple directories, some of them are allowed to be non-existent.
diff --git a/protoc-plugin/src/main/kotlin/io/spine/tools/compiler/protoc/Plugin.kt b/protoc-plugin/src/main/kotlin/io/spine/tools/compiler/protoc/Plugin.kt
index 8815d10381..f9860998d4 100644
--- a/protoc-plugin/src/main/kotlin/io/spine/tools/compiler/protoc/Plugin.kt
+++ b/protoc-plugin/src/main/kotlin/io/spine/tools/compiler/protoc/Plugin.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,12 +33,12 @@ import com.google.protobuf.compiler.PluginProtos.CodeGeneratorResponse
import io.spine.tools.code.proto.CodeGeneratorRequestWriter
/**
- * Stores received `CodeGeneratorRequest` message to the file the name of which is passed as
+ * Stores the received `CodeGeneratorRequest` message to the file the name of which is passed as
* the value of the [parameter][CodeGeneratorRequest.getParameter] property of the request.
*
* The name of the file is [Base64][java.util.Base64] encoded.
*
- * The function returns empty [CodeGeneratorRequest] written to [System.out]
+ * The function returns an empty [CodeGeneratorRequest] written to [System.out]
* according to the `protoc` plugin
* [protocol](https://protobuf.dev/reference/cpp/api-docs/google.protobuf.compiler.plugin.pb/).
*
diff --git a/test-env/src/main/kotlin/io/spine/tools/compiler/test/AnnotationInsertionPointPrinter.kt b/test-env/src/main/kotlin/io/spine/tools/compiler/test/AnnotationInsertionPointPrinter.kt
index daca062b28..d1a68e0b89 100644
--- a/test-env/src/main/kotlin/io/spine/tools/compiler/test/AnnotationInsertionPointPrinter.kt
+++ b/test-env/src/main/kotlin/io/spine/tools/compiler/test/AnnotationInsertionPointPrinter.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,7 +45,7 @@ public class AnnotationInsertionPointPrinter :
public enum class AnnotationInsertionPoint : NonRepeatingInsertionPoint {
/**
- * An insertion point in the imports black.
+ * An insertion point in the imports block.
*
* This insertion point allows importing types into the Java file.
*/
@@ -62,7 +62,7 @@ public enum class AnnotationInsertionPoint : NonRepeatingInsertionPoint {
},
/**
- * An insertion point before the return type of method called `foo`.
+ * An insertion point before the return type of the method called `foo`.
*
* This insertion point allows annotating the return type.
*/
diff --git a/test-env/src/main/kotlin/io/spine/tools/compiler/test/DeletedTypeView.kt b/test-env/src/main/kotlin/io/spine/tools/compiler/test/DeletedTypeView.kt
index 87632dae86..40af8bcb23 100644
--- a/test-env/src/main/kotlin/io/spine/tools/compiler/test/DeletedTypeView.kt
+++ b/test-env/src/main/kotlin/io/spine/tools/compiler/test/DeletedTypeView.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,7 +32,6 @@ import io.spine.tools.compiler.ast.TypeName
import io.spine.tools.compiler.ast.event.TypeDiscovered
import io.spine.tools.compiler.plugin.View
import io.spine.tools.compiler.plugin.ViewRepository
-import io.spine.server.entity.update
import io.spine.server.route.Route
/**
@@ -65,7 +64,7 @@ public class DeletedTypeView : View(
/**
* This class of the repository is used for tests checking the case when both
- * view class and a repository class are passed to the plugin constructor.
+ * a view class and a repository class are passed to the plugin constructor.
*/
public class DeletedTypeRepository
: ViewRepository()
diff --git a/test-env/src/main/kotlin/io/spine/tools/compiler/test/InternalMessageView.kt b/test-env/src/main/kotlin/io/spine/tools/compiler/test/InternalMessageView.kt
index e3b083562f..5ff8c2963d 100644
--- a/test-env/src/main/kotlin/io/spine/tools/compiler/test/InternalMessageView.kt
+++ b/test-env/src/main/kotlin/io/spine/tools/compiler/test/InternalMessageView.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,6 @@ import io.spine.core.Subscribe
import io.spine.tools.compiler.ast.TypeName
import io.spine.tools.compiler.ast.event.TypeEntered
import io.spine.tools.compiler.plugin.View
-import io.spine.server.entity.update
import io.spine.server.route.Route
/**
diff --git a/test-env/src/main/kotlin/io/spine/tools/compiler/test/TestEnvOptionsProvider.kt b/test-env/src/main/kotlin/io/spine/tools/compiler/test/TestEnvOptionsProvider.kt
index 6ed4c8d4cb..9f03e0f6ec 100644
--- a/test-env/src/main/kotlin/io/spine/tools/compiler/test/TestEnvOptionsProvider.kt
+++ b/test-env/src/main/kotlin/io/spine/tools/compiler/test/TestEnvOptionsProvider.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ import com.google.protobuf.ExtensionRegistry
import io.spine.option.OptionsProvider
/**
- * Register options declared in [extra_opts.proto][XtraOptsProto] file.
+ * Registers options declared in the [extra_opts.proto][XtraOptsProto] file.
*/
@AutoService(OptionsProvider::class)
public class TestEnvOptionsProvider : OptionsProvider {
diff --git a/test-env/src/main/kotlin/io/spine/tools/compiler/test/UnderscorePrefixRenderer.kt b/test-env/src/main/kotlin/io/spine/tools/compiler/test/UnderscorePrefixRenderer.kt
index 3e0be12403..24c6356299 100644
--- a/test-env/src/main/kotlin/io/spine/tools/compiler/test/UnderscorePrefixRenderer.kt
+++ b/test-env/src/main/kotlin/io/spine/tools/compiler/test/UnderscorePrefixRenderer.kt
@@ -34,7 +34,7 @@ import io.spine.server.query.select
import io.spine.tools.code.Java
/**
- * A test [Renderer] that prepends underscore before an [InternalType] in all source files.
+ * A test [Renderer] that prepends an underscore before an [InternalType] in all source files.
*/
public class UnderscorePrefixRenderer : Renderer(Java) {
diff --git a/testlib/src/main/kotlin/io/spine/testing/compiler/AbstractCompilationErrorTest.kt b/testlib/src/main/kotlin/io/spine/testing/compiler/AbstractCompilationErrorTest.kt
index 65eb96e577..6feed6a7c6 100644
--- a/testlib/src/main/kotlin/io/spine/testing/compiler/AbstractCompilationErrorTest.kt
+++ b/testlib/src/main/kotlin/io/spine/testing/compiler/AbstractCompilationErrorTest.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -82,7 +82,7 @@ public abstract class AbstractCompilationErrorTest {
/**
* Asserts that the messages represented by the given [descriptor]
- * fails the compilation process.
+ * fail the compilation process.
*/
public fun assertCompilationFails(descriptor: Descriptor): Compilation.Error {
val setup = createSetup(descriptor)
diff --git a/testlib/src/main/kotlin/io/spine/testing/compiler/DescriptorFilters.kt b/testlib/src/main/kotlin/io/spine/testing/compiler/DescriptorFilters.kt
index f67eb3a864..e00600331d 100644
--- a/testlib/src/main/kotlin/io/spine/testing/compiler/DescriptorFilters.kt
+++ b/testlib/src/main/kotlin/io/spine/testing/compiler/DescriptorFilters.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,10 +33,10 @@ import io.spine.tools.compiler.backend.DescriptorFilter
/**
* Creates a predicate accepting only the given [descriptor] of
* a Protobuf declaration and the descriptor of the file in
- * which declaration was made, so that a [Pipeline][io.spine.tools.compiler.backend.Pipeline]
+ * which the declaration was made, so that a [Pipeline][io.spine.tools.compiler.backend.Pipeline]
* can get down to the [descriptor] of interest.
*
- * If the given [descriptor] is [FileDescriptor] the predicate accepts
+ * If the given [descriptor] is [FileDescriptor], the predicate accepts
* the file itself, all the declarations made in this file.
*/
public fun acceptingOnly(descriptor: GenericDescriptor): DescriptorFilter =
diff --git a/testlib/src/main/kotlin/io/spine/testing/compiler/PipelineParametersExts.kt b/testlib/src/main/kotlin/io/spine/testing/compiler/PipelineParametersExts.kt
index 00c942f0d8..195662a8d7 100644
--- a/testlib/src/main/kotlin/io/spine/testing/compiler/PipelineParametersExts.kt
+++ b/testlib/src/main/kotlin/io/spine/testing/compiler/PipelineParametersExts.kt
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -84,7 +84,7 @@ public fun PipelineParameters.Builder.withRoots(
}
/**
- * Creates a partial instance of [PipelineParameters] that refer to the given settings directory.
+ * Creates a partial instance of [PipelineParameters] that refers to the given settings directory.
*/
public fun parametersWithSettingsDir(dir: Path): @NonValidated PipelineParameters =
PipelineParameters.newBuilder()
diff --git a/testlib/src/main/kotlin/io/spine/testing/compiler/PipelineSetup.kt b/testlib/src/main/kotlin/io/spine/testing/compiler/PipelineSetup.kt
index 86cc2bf823..3ce0589465 100644
--- a/testlib/src/main/kotlin/io/spine/testing/compiler/PipelineSetup.kt
+++ b/testlib/src/main/kotlin/io/spine/testing/compiler/PipelineSetup.kt
@@ -85,7 +85,7 @@ import org.gradle.testfixtures.ProjectBuilder
* for creation of a [Pipeline] automatically. Configuration steps associated with this approach are
* described below.
*
- * The class also allows fine-tuned way of working using its constructor directly for the usage
+ * The class also allows a fine-tuned way of working using its constructor directly for the usage
* scenarios when generated code and [CodeGeneratorRequest] are already available or generated via
* a custom procedure.
*
@@ -163,7 +163,7 @@ import org.gradle.testfixtures.ProjectBuilder
* The primary usage scenario for this parameter is accepting only
* descriptors of interest when running tests.
* @param writeSettings A callback for writing plugin settings before the pipeline is created.
- * @constructor Creates in instance for creating [Pipeline] for testing the given [plugins].
+ * @constructor Creates an instance for creating [Pipeline] for testing the given [plugins].
*
* @see [byResources]
* @see [SettingsDirectory]
@@ -180,7 +180,7 @@ public class PipelineSetup(
private val writeSettings: (SettingsDirectory) -> Unit
) {
/**
- * Parameters with populated source and target rood directories passed as `inputDir` and
+ * Parameters with populated source and target root directories passed as `inputDir` and
* `outputDir` constructor parameters.
*/
public val params: PipelineParameters = params.toBuilder()
@@ -253,7 +253,7 @@ public class PipelineSetup(
createPipelineWithBlackBox()
/**
- * Creates a [Pipeline] and a [BlackBox] to for testing the [CodeGenerationContext] of
+ * Creates a [Pipeline] and a [BlackBox] for testing the [CodeGenerationContext] of
* the created pipeline.
*
* The created instances of [Pipeline] and [BlackBox] are "entangled" in the sense
diff --git a/testlib/src/main/kotlin/io/spine/testing/compiler/recorder/RecordingPlugin.kt b/testlib/src/main/kotlin/io/spine/testing/compiler/recorder/RecordingPlugin.kt
index 3f938f8637..b853e65c4a 100644
--- a/testlib/src/main/kotlin/io/spine/testing/compiler/recorder/RecordingPlugin.kt
+++ b/testlib/src/main/kotlin/io/spine/testing/compiler/recorder/RecordingPlugin.kt
@@ -29,7 +29,6 @@ package io.spine.testing.compiler.recorder
import io.spine.base.EventMessage
import io.spine.core.External
import io.spine.core.Subscribe
-import io.spine.server.entity.alter
import io.spine.server.query.Querying
import io.spine.server.query.select
import io.spine.server.route.Route
diff --git a/testlib/src/testFixtures/proto/given/domain/gas_transportation.proto b/testlib/src/testFixtures/proto/given/domain/gas_transportation.proto
index f876adbb7c..8a15f167f8 100644
--- a/testlib/src/testFixtures/proto/given/domain/gas_transportation.proto
+++ b/testlib/src/testFixtures/proto/given/domain/gas_transportation.proto
@@ -1,22 +1,29 @@
/*
-* Copyright 2024, TeamDev. All rights reserved.
-*
-* Redistribution and use in source and/or binary forms, with or without
-* modification, must retain the above copyright notice and the following
-* disclaimer.
-*
-* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Copyright 2026, TeamDev. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Redistribution and use in source and/or binary forms, with or without
+ * modification, must retain the above copyright notice and the following
+ * disclaimer.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
syntax = "proto3";
package given.domain;
@@ -24,7 +31,7 @@ package given.domain;
//
// This is a "vanilla" Protobuf file, which does not use Spine-specific features like
// custom options such as `type_url_prefix` or validation constraints.
-// We also use "pure" Protobuf Java `protoc` plugin to process these files so that
+// We also use the "pure" Protobuf Java `protoc` plugin to process these files so that
// we recreate conditions we have before the Compiler gets into play after `protoc`
// finishes its work.
//
diff --git a/testlib/src/testFixtures/proto/given/domain/oil_refinery.proto b/testlib/src/testFixtures/proto/given/domain/oil_refinery.proto
index 1f1ab33a8b..c87dd86f2d 100644
--- a/testlib/src/testFixtures/proto/given/domain/oil_refinery.proto
+++ b/testlib/src/testFixtures/proto/given/domain/oil_refinery.proto
@@ -1,22 +1,29 @@
/*
-* Copyright 2024, TeamDev. All rights reserved.
-*
-* Redistribution and use in source and/or binary forms, with or without
-* modification, must retain the above copyright notice and the following
-* disclaimer.
-*
-* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Copyright 2026, TeamDev. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Redistribution and use in source and/or binary forms, with or without
+ * modification, must retain the above copyright notice and the following
+ * disclaimer.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
syntax = "proto3";
package given.domain;
@@ -24,7 +31,7 @@ package given.domain;
//
// This is a "vanilla" Protobuf file, which does not use Spine-specific features like
// custom options such as `type_url_prefix` or validation constraints.
-// We also use "pure" Protobuf Java `protoc` plugin to process these files so that
+// We also use the "pure" Protobuf Java `protoc` plugin to process these files so that
// we recreate conditions we have before the Compiler gets into play after `protoc`
// finishes its work.
//
diff --git a/tests/README.md b/tests/README.md
index 4328568397..879cce6e1c 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -55,7 +55,7 @@ It is more complicated under Windows.
### Symlink support in Windows
Symlink creation under Windows requires either Administrator privileges or
-the [Developer Mode on][developer-mode] turned on. If you develop under Windows you may want
+the [Developer Mode on][developer-mode] turned on. If you develop under Windows, you may want
to turn the [Developer Mode on][developer-mode] for your workstation.
The recommended configuration under Windows is:
diff --git a/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/annotation/FieldGetter.java b/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/annotation/FieldGetter.java
index e7cea9b2ff..89add0dc4d 100644
--- a/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/annotation/FieldGetter.java
+++ b/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/annotation/FieldGetter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,7 +45,7 @@
* An insertion point at the line right before a getter method of the given field.
*
* This implementation should only be used for test purposes. It might not cover all the possible
- * edge cases when fining the line where the getter is.
+ * edge cases when finding the line where the getter is.
*/
final class FieldGetter implements NonRepeatingInsertionPoint {
diff --git a/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/uuid/ClassScope.java b/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/uuid/ClassScope.java
index 385c8133d9..0d305fe52d 100644
--- a/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/uuid/ClassScope.java
+++ b/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/uuid/ClassScope.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, TeamDev. All rights reserved.
+ * Copyright 2026, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -64,7 +64,8 @@ public String getLabel() {
/**
* Finds the place to put the {@code ClassScope} insertion point among the given code lines.
*
- *
To locate our insertion point, we use Protoc native {@code class_scope} insertion point.
+ *
To locate our insertion point, we use the Protoc native
+ * {@code class_scope} insertion point.
*
*
If there is no Protoc native insertion point to be found, the {@code ClassScope} point
* is not added either.
diff --git a/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/uuid/UuidJavaRenderer.java b/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/uuid/UuidJavaRenderer.java
index 6abd493079..1b9c1bda08 100644
--- a/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/uuid/UuidJavaRenderer.java
+++ b/tests/compiler-extension/src/main/java/io/spine/tools/compiler/test/uuid/UuidJavaRenderer.java
@@ -45,7 +45,7 @@
*
A UUID type is a message that only has one field — a {@code string} field
* called {@code uuid}.
*/
-@SuppressWarnings("unused") // Accessed by the Compiler via refection.
+@SuppressWarnings("unused") // Accessed by the Compiler via reflection.
public final class UuidJavaRenderer extends JavaRenderer {
/**
diff --git a/version.gradle.kts b/version.gradle.kts
index 4969848845..ba245b1ed5 100644
--- a/version.gradle.kts
+++ b/version.gradle.kts
@@ -30,7 +30,7 @@
* This version is also used by integration test projects.
* E.g. see `tests/consumer/build.gradle.kts`.
*/
-private val compilerVersion = "2.0.0-SNAPSHOT.062"
+private val compilerVersion = "2.0.0-SNAPSHOT.063"
extra.set("compilerVersion", compilerVersion)
/**