}
final PsiType rhsType = rhs.getType();
if (!lhsType.equals(rhsType)) {
return false;
}
<BUG>return isOffsetArrayAccess(rhs, variable);
</BUG>
}
<BUG>private static boolean isOffsetArrayAccess(PsiExpression expression,
PsiLocalVariable variable) {
final PsiExpression strippedExpression =
ParenthesesUtils.stripParentheses(expression);
if (!(strippedExpression instanceof PsiArrayAccessExpression)) {
return false;</BUG>
}

}
return bodyIsArrayCopy(statements[0], variable);
}
return false;
}
private static boolean expressionIsArrayCopy(
PsiExpression expression, PsiLocalVariable variable) {
