mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[java] don't suggest "implements" for type parameter (IDEA-353386)
GitOrigin-RevId: fec190f372d53eb9311a54dc01e511ef432b0ee4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
106130b6f8
commit
bbb76f93cf
@@ -1066,7 +1066,7 @@ public class JavaKeywordCompletion {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!psiClass.isInterface()) {
|
||||
if (!psiClass.isInterface() && !(psiClass instanceof PsiTypeParameter)) {
|
||||
addKeyword(new OverridableSpace(createKeyword(PsiKeyword.IMPLEMENTS), TailTypes.humbleSpaceBeforeWordType()));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,5 +14,5 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
class A{
|
||||
void <T extends String, V e<caret>>foo(){}
|
||||
void <T extends String, V <caret>>foo(){}
|
||||
}
|
||||
Reference in New Issue
Block a user