Refactoring: make "replace get or set" an inspection

This commit is contained in:
Mikhail Glukhikh
2017-12-19 14:45:15 +03:00
parent 756cb32eaf
commit 91bcfb97c6
50 changed files with 375 additions and 342 deletions
@@ -0,0 +1,12 @@
// PROBLEM: none
// ERROR: 'operator' modifier is inapplicable on this function: must have at least 2 value parameters
class C {
operator fun set(){}
}
class D(val c: C) {
fun foo() {
this.c.<caret>set()
}
}