Fixed type references in javadoc to avoid IntelliJ error reports on rebuild

Minor JavaDoc changes safe to merge.