KT-8822 Override Members: do not show private members from java classes
#KT-8822 Fixed
This commit is contained in:
@@ -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>
|
||||
}
|
||||
+25
@@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user