final GrConstructorInvocation inv = PsiImplUtil.getChainingConstructorInvocation((GrMethod)constructor);
if (inv == null || inv.isSuperCall()) return false;
}
return true;
}
<BUG>private static boolean allOccurrencesInOneMethod(PsiElement[] occurrences, GrTypeDefinition clazz) {
</BUG>
if (occurrences.length == 0) return true;
<BUG>GrMethod method = GrIntroduceFieldHandler.getContainingMethod(occurrences[0], clazz);
</BUG>
if (method == null) return false;

final GrConstructorInvocation inv = PsiImplUtil.getChainingConstructorInvocation((GrMethod)constructor);
if (inv == null || inv.isSuperCall()) return false;
}
return true;
}
private static boolean allOccurrencesInOneMethod(PsiElement[] occurrences, PsiElement scope) {
if (occurrences.length == 0) return true;
GrMethod method = GrIntroduceFieldHandler.getContainingMethod(occurrences[0], scope);
if (method == null) return false;
