Skip to content

Absent class annotations with @MustBeDocumented #2527

@vsukharev

Description

@vsukharev

Shouldn't MustBeDocumented annotations be displayed for the classes?
The example below shows annotations for methods and parameters, but not for the class (this is kinda unexpected)

@MustBeDocumented
annotation class Baz

@Baz
class App2 {
    @Baz
    fun withParams(@Baz str1: String, str2: String): Boolean {
        return str1 == str2
    }
}

output HTML:

Screenshot 2022-06-10 at 00 01 30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions