1 package com.puppycrawl.tools.checkstyle.grammar; 2 3 public enum InputRegressionJavaEnum1 { 4 E1(), E2 { 5 class anonymous {} 6 private static final int f = 1; 7 8 @Override 9 public void override() {}; 10 public <T> void m1() {}; 11 public void m2() throws Exception { throw new Exception(); }; 12 public native void m3() throws Exception; 13 14 {;} 15 } 16 ; 17 18 public void override() {} 19 } 20 enum e1 { 21 E1(),; 22 } 23 enum e2 { 24 E1();; 25 } 26 enum e3 { 27 , 28 } 29 enum e4 { 30 ,; 31 }