diff --git a/platform/platform-tests/testSrc/com/intellij/ide/highlighter/custom/CustomFileTypeLexerTest.groovy b/platform/platform-tests/testSrc/com/intellij/ide/highlighter/custom/CustomFileTypeLexerTest.groovy index 1d501e7bf444..d231cb000fa6 100644 --- a/platform/platform-tests/testSrc/com/intellij/ide/highlighter/custom/CustomFileTypeLexerTest.groovy +++ b/platform/platform-tests/testSrc/com/intellij/ide/highlighter/custom/CustomFileTypeLexerTest.groovy @@ -24,6 +24,7 @@ import com.intellij.testFramework.LexerTestCase import com.intellij.testFramework.PlatformTestUtil import com.intellij.util.Processor import com.intellij.util.ThrowableRunnable +import groovy.transform.CompileStatic import junit.framework.TestCase import org.jetbrains.annotations.NonNls import org.jetbrains.annotations.NotNull @@ -31,6 +32,7 @@ import org.jetbrains.annotations.Nullable /** * @author peter */ +@CompileStatic class CustomFileTypeLexerTest extends TestCase { private static void doTest(SyntaxTable table, @NonNls String text, @Nullable String expected) { @@ -464,7 +466,7 @@ NUMBER ('0yabc0') int count = 3000 List keywords = [] for (i in 0..