1 /* 2 ClassFanOutComplexity 3 max = 0 4 excludedClasses = (default)ArrayIndexOutOfBoundsException, ArrayList, Boolean, Byte, \ 5 Character, Class, Collection, Deprecated, Deque, Double, DoubleStream, \ 6 EnumSet, Exception, Float, FunctionalInterface, HashMap, HashSet, \ 7 IllegalArgumentException, IllegalStateException, IndexOutOfBoundsException, \ 8 IntStream, Integer, LinkedHashMap, LinkedHashSet, LinkedList, List, Long, \ 9 LongStream, Map, NullPointerException, Object, Optional, OptionalDouble, \ 10 OptionalInt, OptionalLong, Override, Queue, RuntimeException, SafeVarargs, \ 11 SecurityException, Set, Short, SortedMap, SortedSet, Stream, String, \ 12 StringBuffer, StringBuilder, SuppressWarnings, Throwable, TreeMap, TreeSet, \ 13 UnsupportedOperationException, Void, boolean, byte, char, double, float, \ 14 int, long, short, var, void 15 excludeClassesRegexps = (default)^$ 16 excludedPackages = com.puppycrawl.tools.checkstyle.checks.metrics.inputs.a 17 18 19 */ 20 21 package com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity; 22 23 import com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity.inputs.a.aa.AAClass; 24 import com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity.inputs.a.ab.ABClass; 25 import com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity.inputs.b.BClass; 26 import com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity.inputs.c.CClass; 27 28 public class InputClassFanOutComplexityExcludedPackagesCommonPackage { // violation 29 public AAClass aa; 30 public ABClass ab; 31 32 class Inner { // violation 33 public BClass b; 34 public CClass c; 35 } 36 } 37 38 class InputClassFanOutComplexityExcludedPackagesCommonPackageHidden { // violation 39 public CClass c; 40 }