void () { OuterClass.UnnecessaryEnumModifier2Inspection[] inners = new OuterClass.UnnecessaryEnumModifier2Inspection[3]; <warning descr="'for' loop can be replaced with enhanced 'for'">for</warning>(int i = 0; i < inners.length; i++){ OuterClass.UnnecessaryEnumModifier2Inspection inner = inners[i]; System.out.println(inner); } }