Add some javadoc example for reference.