File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lsif-semanticdb/src/main/java/com/sourcegraph/lsif_semanticdb Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,15 @@ private void formatClassSignature(ClassSignature classSignature) {
9898 // 1. If the symbol has type CLASS, there will always be at least 1 parent. For enums, this is
9999 // java/lang/Enum#, otherwise it is java/lang/Object# if no superclass is specified.
100100 // Therefore, if the parents list contains java/lang/Object# type or the symbol is an enum,
101- // then no superclass was defined and all parents are interfaces and we must print 'implements'
101+ // then no superclass was defined and all parents are interfaces and we must print
102+ // 'implements'
102103 // followed by all superinterfaces.
103104 // Else if it is not an enum and the list of non-synthetic parents is non empty, a superclass
104105 // was specified and we must print it with the 'extends' keyword prefixed, followed by
105106 // 'implements' and all superinterfaces, if any.
106107 // 2. If the symbol has type INTERFACE, then any defined parents must also be interfaces, so if
107- // the list of non-synthetic parents is not empty, print 'implements' and all superinterfaces.
108+ // the list of non-synthetic parents is not empty, print 'implements' and all
109+ // superinterfaces.
108110 switch (symbolInformation .getKind ()) {
109111 case CLASS :
110112 // if no superclass or is an enum, every non synthetic parent is an interface
You can’t perform that action at this time.
0 commit comments