diff options
author | Aurimas Liutikas <aurimas@google.com> | 2020-01-29 11:52:22 -0800 |
---|---|---|
committer | Aurimas Liutikas <aurimas@google.com> | 2020-01-29 15:17:28 -0800 |
commit | adf8cd7d913a55cd2b080967e3a6dee7168b1736 (patch) | |
tree | 894976de1ee282275e25a4177fa81995c3773446 /core/testdata/format/dac-as-java/javaConstructor.html | |
parent | 5291d504c5d5192df860c62564b5f5c1ce741cb6 (diff) | |
download | dokka-adf8cd7d913a55cd2b080967e3a6dee7168b1736.tar.gz |
Start showing visibility modifiers in full method details.
This matches how doclava and koltin html output handles it.
The logic closely matches KotlinLanguageService#renderFunction
Bug: 146661040
Test: Modified test data for DacAsJavaFormatTest to match
the new expectation of having new visibility modifiers in
the method description.
Alsod added a new test to test all method visibilities
Change-Id: Ie2e15fa9f915f20b2b1ff9b72b2e1e55f60d2f17
Diffstat (limited to 'core/testdata/format/dac-as-java/javaConstructor.html')
-rw-r--r-- | core/testdata/format/dac-as-java/javaConstructor.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/testdata/format/dac-as-java/javaConstructor.html b/core/testdata/format/dac-as-java/javaConstructor.html index a28232bf7..5717ecf6b 100644 --- a/core/testdata/format/dac-as-java/javaConstructor.html +++ b/core/testdata/format/dac-as-java/javaConstructor.html @@ -35,7 +35,7 @@ <a name="Foo()"></a> <div class="api apilevel-" data-version-added=""> <h3 class="api-name">Foo</h3> - <pre class="api-signature no-pretty-print"><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></pre> + <pre class="api-signature no-pretty-print"><span class="keyword">public</span> <span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></pre> </div> </body> </html> |