1 /* 2 com.puppycrawl.tools.checkstyle.checks.design.OneTopLevelClassCheck 3 4 */ 5 package com.puppycrawl.tools.checkstyle.treewalker; 6 /*comment*/ 7 public class InputTreeWalker { 8 } 9 //violation below,'Top-level class InputTreeWalkerInner has to reside in its own source file' 10 class InputTreeWalkerInner { 11 }