@NonNls
static final String ITERATOR_TEXT = "iterator()";
@NonNls
static final String KEY_SET_ITERATOR_TEXT = "keySet().iterator()";
@NonNls
<BUG>static final String VALUES_ITERATOR_TEXT = "values().iterator()";
@NotNull</BUG>
public String getDisplayName() {
return InspectionGadgetsBundle.message(
"enumeration.can.be.iteration.display.name");

@NonNls
static final String ITERATOR_TEXT = "iterator()";
@NonNls
static final String KEY_SET_ITERATOR_TEXT = "keySet().iterator()";
@NonNls
static final String VALUES_ITERATOR_TEXT = "values().iterator()";
private static final int KEEP_NOTHING = 0;
private static final int KEEP_INITIALIZATION = 1;
private static final int KEEP_DECLARATION = 2;
@NotNull
public String getDisplayName() {
return InspectionGadgetsBundle.message(
"enumeration.can.be.iteration.display.name");
