int () { if (myPanel.myReplaceRB.isSelected()) { return CoverageOptionsProvider.REPLACE_SUITE; } else if (myPanel.myAddRB.isSelected()) { return CoverageOptionsProvider.ADD_SUITE; } else if (myPanel.myDoNotApplyRB.isSelected()) { return CoverageOptionsProvider.IGNORE_SUITE; } return CoverageOptionsProvider.ASK_ON_NEW_SUITE; }