@NotNull inspection for Groovy

In Java projects I am used to use the @NotNull and @Nullable annotations for method parameters. If I then call a method with a parameter declared as @NotNull and pass "null" for this parameter, then the relevant code is marked in IntelliJ. This doesn't seem to work for Groovy. Am I missing something or isn't this inspection available for Groovy? Any possibility to add this on my own?

Thanks and regards

  Sven

0

No, it's not available yet. Feel free to vote/watch/contribute http://youtrack.jetbrains.com/issue/IDEABKL-6136

0

请先登录再写评论。