We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a6ab5 commit f3206a2Copy full SHA for f3206a2
plugin/src/main/scala/com/typesafe/genjavadoc/AST.scala
@@ -161,11 +161,10 @@ trait AST { this: TransformCake ⇒
161
}
162
163
private def access(m: Modifiers, topLevel: Boolean): String = {
164
- if (m.isTrait || m.isInterface) "public"
165
- else if (m.isPublic) "public"
+ if (m.isPublic || m.isTrait) "public"
166
else if (m.isProtected && !topLevel) "protected"
167
else if (m.isPrivate && !topLevel) {
168
- if (m.hasStaticFlag) "" else "private"
+ if (m.isInterface || m.hasStaticFlag) "" else "private"
169
170
else if (strictVisibility && m.privateWithin != tpnme.EMPTY) ""
171
else "public" // this is the case for top level classes
0 commit comments