The question, Is Groovy syntax an exact superset of Java syntax? has not been updated in nearly a decade.
My understanding is that Groovy 3 has closed the remaining gaps with Java syntax, to become a pure superset. I believe this is what Wikipedia means when it refers to Groovy as,
Java-syntax-compatible
Is this correct, or is there still Java (11) syntax that is invalid Groovy?