public static boolean isTablePart(PsiElement psi) {
    return psi instanceof GrBinaryExpression &&
           (GroovyTokenTypes.mBOR == ((GrBinaryExpression)psi).getOperationTokenType() ||
            GroovyTokenTypes.mLOR == ((GrBinaryExpression)psi).getOperationTokenType());
  }
public static boolean isTablePart(PsiElement psi)