KT-8822 Override Members: do not show private members from java classes

#KT-8822 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-08-18 22:47:13 +03:00
parent f42a589ddc
commit 9b4e3b15c4
6 changed files with 54 additions and 5 deletions
@@ -0,0 +1,5 @@
public class A {
public void x(){}
private void y(){}
private void z(){}
}
@@ -0,0 +1,7 @@
interface I {
fun z()
}
class C : A(), I {
<caret>
}
@@ -0,0 +1,25 @@
interface I {
fun z()
}
class C : A(), I {
override fun equals(other: Any?): Boolean {
<selection><caret>return super<A>.equals(other)</selection>
}
override fun hashCode(): Int {
return super<A>.hashCode()
}
override fun toString(): String {
return super<A>.toString()
}
override fun x() {
super<A>.x()
}
override fun z() {
throw UnsupportedOperationException()
}
}