Fixed failed assertions on navigating to 'Assertions' class of Kotlin runtime

This commit is contained in:
Evgeny Gerashchenko
2012-04-24 17:50:57 +04:00
parent 8c2457195e
commit cc7284c67e
3 changed files with 9 additions and 8 deletions
@@ -336,7 +336,11 @@ public class DescriptorRenderer implements Renderer<DeclarationDescriptor> {
}
private void renderVisibility(Visibility visibility, StringBuilder builder) {
builder.append(renderKeyword(visibility.toString())).append(" ");
if ("package".equals(visibility.toString())) {
builder.append("public/*package*/ ");
} else {
builder.append(renderKeyword(visibility.toString())).append(" ");
}
}
private void renderModality(Modality modality, StringBuilder builder) {