View Javadoc
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.classfanoutcomplexity.\
17                     inputs.a.aa, com.puppycrawl.tools.checkstyle.checks.metrics.\
18                     classfanoutcomplexity.inputs.a.ab, com.puppycrawl.tools.checkstyle.checks.\
19                     metrics.classfanoutcomplexity.inputs.b, com.puppycrawl.tools.checkstyle.\
20                     checks.metrics.classfanoutcomplexity.inputs.c
21  
22  
23  */
24  
25  package com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity;
26  
27  import com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity.inputs.a.aa.AAClass;
28  import com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity.inputs.a.ab.ABClass;
29  import com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity.inputs.b.BClass;
30  import com.puppycrawl.tools.checkstyle.checks.metrics.classfanoutcomplexity.inputs.c.CClass;
31  
32  public class InputClassFanOutComplexityExcludedPackagesAllIgnored { // total: ok
33      public AAClass aa;
34      public ABClass ab;
35  
36      class Inner { // total: ok
37          public BClass b;
38          public CClass c;
39      }
40  }
41  
42  class InputClassFanOutComplexityExcludedPackagesAllIgnoredHidden { // total: ok
43      public CClass c;
44  }
45  
46