1 /* 2 ConstantName 3 format = (default)^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$ 4 applyToPublic = (default)true 5 applyToProtected = (default)true 6 applyToPackage = (default)true 7 applyToPrivate = (default)true 8 9 10 */ 11 12 package com.puppycrawl.tools.checkstyle.checks.naming.constantname; 13 14 15 public interface InputConstantNameStaticModifierInInterface 16 { 17 static int f() 18 { 19 int someName = 5; 20 return someName; 21 } 22 }