View Javadoc
1   /*
2   RightCurly
3   option = ALONE
4   tokens = CLASS_DEF
5   
6   
7   */
8   
9   package com.puppycrawl.tools.checkstyle.checks.blocks.rightcurly;
10  
11  class InputRightCurlyTestSingleLineClass
12  {
13      void foo() throws InterruptedException
14      {
15  
16              try
17              {
18  
19              }
20              catch (Exception e)
21              {
22                  return;
23              }
24  
25          }
26  
27      }
28  // violation below ''}' at column 56 should be alone on a line'
29  class UniqEmptyClassTestSingleLineClass {private int a;}