Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,10 @@ private Content buildSuperinterfaces() {
Set<Content> keywords = tMap.values().stream()
.map(e -> {
return switch (e.getKind()) {
case CLASS, ENUM -> Keywords.IMPLEMENTS;
case CLASS, ENUM, RECORD -> Keywords.IMPLEMENTS;
case ANNOTATION_TYPE, INTERFACE -> Keywords.EXTENDS;
// for newer kinds, not supported by the default version of JDK
// used to compile apidiff, use a reflective comparison
default -> throw new IllegalStateException((e.getKind().toString()));
};
})
Expand Down