Add inspection and quick-fix to remove empty parentheses in annotation entries

This commit is contained in:
Aleksei Semin
2018-11-10 19:01:36 +01:00
committed by Mikhail Glukhikh
parent e903b2f92a
commit 793cac02e8
18 changed files with 209 additions and 0 deletions
@@ -0,0 +1,14 @@
<html>
<body>
This inspection reports unnecessary parentheses in annotation entries. For example:
<br /><br />
<pre>
annotation class MyAnnotation
@MyAnnotation<b>()</b> // There parentheses can be omitted
fun test() {
}
</pre>
</body>
</html>