1 /* 2 RightCurly 3 option = ALONE_OR_SINGLELINE 4 tokens = ENUM_DEF 5 6 7 */ 8 9 package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly; 10 11 public class InputRightCurlyNewTokensAloneOrSingleLine { 12 13 enum TestEnum{} 14 15 enum TestEnum1{ 16 SOME_VALUE;} // violation ''}' at column 20 should be alone on a line' 17 18 enum TestEnum2 { SOME_VALUE; } 19 20 enum TestEnum3{ 21 SOME_VALUE; 22 } 23 24 enum TestEnum4{ SOME_VALUE; 25 } 26 }