1 2 3 4 5 6 7
package test; class Foo { /** @deprecated use {@link #bar} instead */ public void foo() {} public void bar() {} }