Suppress "Use property access syntax" for method or class

Viewed 2042

In my project, I have a delegate(written in Java) for fetching data by RPC, most of it methods start with 'get' and some require no parameters, so Kotlin suggests to replace calls to them with property access syntax while they are not fulfilling property semantics (well, because they perform network requests), so I'd like to suppress all such inspections for all these methods usages by default and not in place of every call (yes, I'm aware of @Suppress annotation for blocks, and it works exactly opposite to what I need).

Is there any solution for this except renaming them so they won't start with 'get'?

1 Answers
Related