KT-5087 Private members of Java classes should be marked as invisible, not unresolved
#KT-5087 fixed
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package test;
|
||||
|
||||
public class PrivateMembers {
|
||||
private PrivateMembers() {
|
||||
}
|
||||
|
||||
private int field = 1;
|
||||
private static int staticField = 2;
|
||||
|
||||
private void method() {
|
||||
}
|
||||
|
||||
private void samAdapter(SamInterface r) {
|
||||
}
|
||||
|
||||
private static void staticMethod() {
|
||||
}
|
||||
|
||||
private class Inner {
|
||||
}
|
||||
|
||||
private interface SamInterface {
|
||||
void foo();
|
||||
}
|
||||
|
||||
private static class Nested {
|
||||
private static void staticMethodInNested() {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user