Class DirectiveAfterDeclaration

java.lang.Object
org.ek9lang.compiler.repair.DirectiveAfterDeclaration

final class DirectiveAfterDeclaration extends Object
Main() @Test - an annotation written after the declaration it marks, Java-and-Kotlin style. In EK9 a directive (@Test, @Test: group) is a line of its own BEFORE the declaration, at the same indent (directive? methodDeclaration in the grammar), so moving it to the line above is the only reading. A directive followed by anything else (a requirement String, @Test "REQ:x") is left alone.