init();
checkErrors();
}
private void checkErrors() {
List<String> errors = new ArrayList<String>();
<BUG>if (myCurrentMethodRadioButton.isSelected() && myDeclareFinalCheckBox.isSelected() && !!isInvokedInAlwaysInvokedConstructor) {
errors.add(GroovyRefactoringBundle.message("final.field.cant.be.initialized.in.cur.method"));</BUG>
}
if (myDeclareFinalCheckBox.isSelected() && myReplaceAllOccurrencesCheckBox.isSelected() && myInvokedOnLocalVar != null && hasLHSUsages) {
errors.add(GroovyRefactoringBundle.message("Field.cannot.be.final.because.replaced.variable.has.lhs.usages"));

init();
checkErrors();
}
private void checkErrors() {
List<String> errors = new ArrayList<String>();
if (myCurrentMethodRadioButton.isSelected() && myDeclareFinalCheckBox.isSelected() && !isInvokedInAlwaysInvokedConstructor) {
errors.add(GroovyRefactoringBundle.message("final.field.cant.be.initialized.in.cur.method"));
}
if (myDeclareFinalCheckBox.isSelected() && myReplaceAllOccurrencesCheckBox.isSelected() && myInvokedOnLocalVar != null && hasLHSUsages) {
errors.add(GroovyRefactoringBundle.message("Field.cannot.be.final.because.replaced.variable.has.lhs.usages"));
