mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[Parameter Name Hints] do not show hints for generic builders (IDEA-163214)
This commit is contained in:
@@ -60,7 +60,7 @@ public class JavaParameterHintManager {
|
||||
if (expression instanceof PsiNewExpression) {
|
||||
return false;
|
||||
}
|
||||
final PsiType returnType = method.getReturnType();
|
||||
PsiType returnType = TypeConversionUtil.erasure(method.getReturnType());
|
||||
final PsiClass aClass = method.getContainingClass();
|
||||
final String calledMethodFqn = aClass != null ? aClass.getQualifiedName() : null;
|
||||
if (calledMethodFqn != null && returnType != null) {
|
||||
|
||||
Reference in New Issue
Block a user