1 /* 2 HideUtilityClassConstructor 3 ignoreAnnotatedBy = java.lang.Deprecated 4 5 */ 6 7 package com.puppycrawl.tools.checkstyle.checks.design.hideutilityclassconstructor; 8 9 @Deprecated // violation, should not have a public or default constructor 10 public class InputHideUtilityClassConstructorIgnoreAnnotationByFullyQualifiedName { 11 public static void func() {} 12 } 13 14 @java.lang.Deprecated 15 class DeprecatedClass { 16 public static void func() {} 17 } 18 19 @interface Deprecated {}