void () { myVisibilityInspection.SUGGEST_FOR_CONSTANTS = false; doTest(""" class DoNotSuggestForConstants { public static final String MY_CONSTANT = "a"; private final String myField = MY_CONSTANT;}"""); }