1 /* 2 ClassDataAbstractionCoupling 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 = org.apache.hc.core5.http.support 17 18 19 */ 20 21 package com.puppycrawl.tools.checkstyle.checks.metrics.classdataabstractioncoupling; 22 23 import org.apache.hc.core5.http.ssl.TlsCiphers; 24 import org.apache.hc.core5.http.protocol.BasicHttpContext; 25 import org.apache.hc.core5.http.nio.ssl.BasicClientTlsStrategy; 26 import org.apache.hc.core5.http.nio.command.CommandSupport; 27 28 public class InputClassDataAbstractionCouplingExcludedPackagesCommonPackage { // violation 29 public TlsCiphers aa = new TlsCiphers(); 30 public BasicHttpContext ab = new BasicHttpContext(); 31 32 class Inner { // violation 33 public BasicClientTlsStrategy b = new BasicClientTlsStrategy(); 34 public CommandSupport c = new CommandSupport(); 35 } 36 } 37 38 class InputClassDataAbstractionCouplingExcludedPackagesCommonPackageHidden { // violation 39 public CommandSupport c = new CommandSupport(); 40 }