File tree Expand file tree Collapse file tree 14 files changed +124
-12
lines changed
main/scala/com/typesafe/genjavadoc
expected_output/basic/akka/actor/dsl
input/basic/akka/actor/dsl Expand file tree Collapse file tree 14 files changed +124
-12
lines changed Original file line number Diff line number Diff line change @@ -160,10 +160,11 @@ trait AST { this: TransformCake ⇒
160160 }
161161
162162 private def access (m : Modifiers , topLevel : Boolean ): String = {
163- if (m.isPublic) " public"
163+ if (m.isTrait || m.isInterface) " public"
164+ else if (m.isPublic) " public"
164165 else if (m.isProtected && ! topLevel) " protected"
165166 else if (m.isPrivate && ! topLevel) {
166- if (m.isInterface || m. hasStaticFlag) " " else " private"
167+ if (m.hasStaticFlag) " " else " private"
167168 }
168169 else if (strictVisibility && m.privateWithin != tpnme.EMPTY ) " "
169170 else " public" // this is the case for top level classes
Original file line number Diff line number Diff line change 1+ package akka .actor .dsl ;
2+ public interface Inbox {
3+ public interface InboxExtension {
4+ public int DSLInboxQueueSize () ;
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ package akka .actor .dsl
2+
3+ trait Inbox {
4+ protected trait InboxExtension {
5+ val DSLInboxQueueSize = 42
6+ }
7+ }
Original file line number Diff line number Diff line change 8080 public Object messageId () { throw new RuntimeException(); }
8181 // not preceding
8282 public Identify (Object messageId) { throw new RuntimeException(); }
83+ --- target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:52.473679518 +0100
84+ +++ target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:51.473673128 +0100
85+ @@ -2,5 +2,6 @@
86+ public interface Inbox {
87+ public interface InboxExtension {
88+ public int DSLInboxQueueSize () ;
89+ + public void akka$actor$dsl$Inbox$InboxExtension$_setter_$DSLInboxQueueSize_$eq (int x$1) ;
90+ }
91+ }
Original file line number Diff line number Diff line change 8080 public Object messageId () { throw new RuntimeException(); }
8181 // not preceding
8282 public Identify (Object messageId) { throw new RuntimeException(); }
83+ --- target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:52.473679518 +0100
84+ +++ target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:51.473673128 +0100
85+ @@ -2,5 +2,6 @@
86+ public interface Inbox {
87+ public interface InboxExtension {
88+ public int DSLInboxQueueSize () ;
89+ + public void akka$actor$dsl$Inbox$InboxExtension$_setter_$DSLInboxQueueSize_$eq (int x$1) ;
90+ }
91+ }
Original file line number Diff line number Diff line change 8080 public Object messageId () { throw new RuntimeException(); }
8181 // not preceding
8282 public Identify (Object messageId) { throw new RuntimeException(); }
83+ --- target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:52.473679518 +0100
84+ +++ target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:51.473673128 +0100
85+ @@ -2,5 +2,6 @@
86+ public interface Inbox {
87+ public interface InboxExtension {
88+ public int DSLInboxQueueSize () ;
89+ + public void akka$actor$dsl$Inbox$InboxExtension$_setter_$DSLInboxQueueSize_$eq (int x$1) ;
90+ }
91+ }
Original file line number Diff line number Diff line change 8080 public Object messageId () { throw new RuntimeException(); }
8181 // not preceding
8282 public Identify (Object messageId) { throw new RuntimeException(); }
83+ --- target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:52.473679518 +0100
84+ +++ target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:51.473673128 +0100
85+ @@ -2,5 +2,6 @@
86+ public interface Inbox {
87+ public interface InboxExtension {
88+ public int DSLInboxQueueSize () ;
89+ + public void akka$actor$dsl$Inbox$InboxExtension$_setter_$DSLInboxQueueSize_$eq (int x$1) ;
90+ }
91+ }
Original file line number Diff line number Diff line change 8080 public Object messageId () { throw new RuntimeException(); }
8181 // not preceding
8282 public Identify (Object messageId) { throw new RuntimeException(); }
83+ --- target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:52.473679518 +0100
84+ +++ target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:51.473673128 +0100
85+ @@ -2,5 +2,6 @@
86+ public interface Inbox {
87+ public interface InboxExtension {
88+ public int DSLInboxQueueSize () ;
89+ + public void akka$actor$dsl$Inbox$InboxExtension$_setter_$DSLInboxQueueSize_$eq (int x$1) ;
90+ }
91+ }
Original file line number Diff line number Diff line change 8080 public Object messageId () { throw new RuntimeException(); }
8181 // not preceding
8282 public Identify (Object messageId) { throw new RuntimeException(); }
83+ --- target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:52.473679518 +0100
84+ +++ target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:51.473673128 +0100
85+ @@ -2,5 +2,6 @@
86+ public interface Inbox {
87+ public interface InboxExtension {
88+ public int DSLInboxQueueSize () ;
89+ + public void akka$actor$dsl$Inbox$InboxExtension$_setter_$DSLInboxQueueSize_$eq (int x$1) ;
90+ }
91+ }
Original file line number Diff line number Diff line change 8080 public Object messageId () { throw new RuntimeException(); }
8181 // not preceding
8282 public Identify (Object messageId) { throw new RuntimeException(); }
83+ --- target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:52.473679518 +0100
84+ +++ target/expected_output/basic/akka/actor/dsl/Inbox.java 2018-12-13 15:51:51.473673128 +0100
85+ @@ -2,5 +2,6 @@
86+ public interface Inbox {
87+ public interface InboxExtension {
88+ public int DSLInboxQueueSize () ;
89+ + public void akka$actor$dsl$Inbox$InboxExtension$_setter_$DSLInboxQueueSize_$eq (int x$1) ;
90+ }
91+ }
You can’t perform that action at this time.
0 commit comments