class Test { @Deprecated public final String string = ""; void foo() { } }