void () { if (myHasWriteAccess && myCbDeclareFinal != null) { myCbDeclareFinal.setEnabled(!myPanel.isReplaceAllOccurences()); if (myPanel.isReplaceAllOccurences()) { myCbDeclareFinal.setSelected(false); } } }