void (final int javaDocPolicy) { if (javaDocPolicy == DocCommentPolicy.COPY) { myRbJavaDocCopy.setSelected(true); } else if (javaDocPolicy == DocCommentPolicy.MOVE) { myRbJavaDocMove.setSelected(true); } else { myRbJavaDocAsIs.setSelected(true); } }