-
Notifications
You must be signed in to change notification settings - Fork 454
Open
Labels
buglanguage: JavaIssue/PR related to the Java language feature/analysis/docsIssue/PR related to the Java language feature/analysis/docstopic: K2Issues / PRs that are related to the K2 migration. See #2888Issues / PRs that are related to the K2 migration. See #2888
Description
The case is pretty synthetic, but I had such code in my project, so
Parent.java
public class Parent {
public int publicPropertyWithProtectedGetterProtectedSetter = 0;
protected int getPublicPropertyWithProtectedGetterProtectedSetter() {
return publicPropertyWithProtectedGetterProtectedSetter;
}
protected void setPublicPropertyWithProtectedGetterProtectedSetter(int publicPropertyWithProtectedGetterProtectedSetter) {
this.publicPropertyWithProtectedGetterProtectedSetter = publicPropertyWithProtectedGetterProtectedSetter;
}
}
Child.kt
open class Child: Parent()
In K1 Child list member is just the same as in the code:
In K2 getter/setter is omitted. But for some reason protected
wins over public
Installation
- Dokka version: 1.9.20
Parent: Regression testing of K2 analysis, first iteration [Kotlin/JVM] #3328
Metadata
Metadata
Assignees
Labels
buglanguage: JavaIssue/PR related to the Java language feature/analysis/docsIssue/PR related to the Java language feature/analysis/docstopic: K2Issues / PRs that are related to the K2 migration. See #2888Issues / PRs that are related to the K2 migration. See #2888