invalid PSI detection

This commit is contained in:
Alexey Kudravtsev
2012-08-23 14:13:53 +04:00
parent 3a1efb00e9
commit b2a479ee7b
4 changed files with 37 additions and 20 deletions
@@ -33,7 +33,7 @@ public class MethodSignatureBackedByPsiMethod extends MethodSignatureBase {
super(substitutor, parameterTypes, methodTypeParameters);
myIsRaw = isRaw;
if (!method.isValid()) {
LOG.error("Invalid method: "+method);
LOG.error("Invalid method: "+method, new PsiInvalidElementAccessException(method));
}
myMethod = method;
}