class Test { void foo() { @Deprecated String foo; } }