You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug DefaultDocumentableToPsiTranslator does not load Java package annotations.
Expected behaviour
Java package annotations should be parsed into the associated DPackage. As described in JLS §7.4.1, only one package declaration per package may be annotated, and the spec recommends placing it in package-info.java. For Dokka's purposes, checking package-info.java for package annotations should be sufficent.
To Reproduce
Observe that package annotations are missing from a the DPackage produced from a project containing a package like:
Describe the bug
DefaultDocumentableToPsiTranslator
does not load Java package annotations.Expected behaviour
Java package annotations should be parsed into the associated
DPackage
. As described in JLS §7.4.1, only one package declaration per package may be annotated, and the spec recommends placing it inpackage-info.java
. For Dokka's purposes, checkingpackage-info.java
for package annotations should be sufficent.To Reproduce
Observe that package annotations are missing from a the
DPackage
produced from a project containing a package like:Installation
Are you willing to provide a PR?
Yes
The text was updated successfully, but these errors were encountered: