add javadoc in adapter