inspection and code cleanup for redundant visibility modifiers

This commit is contained in:
Dmitry Jemerov
2016-01-05 13:31:43 +01:00
parent b736880787
commit e47e9f6763
11 changed files with 151 additions and 7 deletions
@@ -0,0 +1,22 @@
public class C {
public val foo: Int = 0
public fun bar() {}
}
open class D {
protected open fun willRemainProtected() {
}
protected open fun willBecomePublic() {
}
}
class E : D() {
protected override fun willRemainProtected() {
}
public override fun willBecomePublic() {
}
}