boolean (int offset) { if (!super.isAvailableImpl(offset)) return false; if(myReferenceExpression.isQualified()) return false; PsiStatement anchor = getAnchor(myReferenceExpression); if (anchor == null) return false; if (anchor instanceof PsiExpressionStatement) { PsiExpression expression = ((PsiExpressionStatement)anchor).getExpression(); if (expression instanceof PsiMethodCallExpression) { PsiMethod method = ((PsiMethodCallExpression)expression).resolveMethod(); if (method != null && method.isConstructor()) { //this or super call return false; } } } return true; }