1 /* 2 IllegalInstantiation 3 classes = java.gang.foo 4 tokens = LITERAL_NEW,PACKAGE_DEF,IMPORT 5 6 7 */ 8 9 package com.puppycrawl.tools.checkstyle.checks.coding.illegalinstantiation; 10 11 public class InputIllegalInstantiationNameSimilarToStandardClasses { 12 void method() { 13 new foo(); 14 } 15 16 class foo { 17 } 18 }