1 /*xml 2 <module name="Checker"> 3 <module name="TreeWalker"> 4 <module name="AvoidStarImport"/> 5 </module> 6 </module> 7 */ 8 9 package com.puppycrawl.tools.checkstyle.checks.imports.avoidstarimport; 10 11 // xdoc section -- start 12 import java.util.Scanner; 13 import java.io.*; // violation, 'Using the '.*' form of import should be avoided.' 14 import static java.lang.Math.*; // violation, 'form of import should be avoided.' 15 import java.util.*; // violation, 'Using the '.*' form of import should be avoided.' 16 import java.net.*; // violation, 'Using the '.*' form of import should be avoided.' 17 // xdoc section -- end 18 19 class Example1 {}