mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-37283 - NPE: MethodSignatureUtil.computeHashCode
This commit is contained in:
@@ -55,6 +55,7 @@ public class MethodSignatureUtil {
|
||||
PsiType firstParamType = parameterTypes.length == 0 ? null : parameterTypes[0];
|
||||
if (firstParamType != null) {
|
||||
firstParamType = TypeConversionUtil.erasure(firstParamType, signature.getSubstitutor());
|
||||
assert firstParamType != null : parameterTypes[0];
|
||||
result = 31*result + firstParamType.hashCode();
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user