Javadoc and createIndex