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