EA-37283 - NPE: MethodSignatureUtil.computeHashCode

This commit is contained in:
anna
2012-07-09 13:39:01 +02:00
parent 7d7aea152f
commit 0d754ef5b0
@@ -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;