An example that uses @Deprecated

http://ideone.com/6VBsFk