Fix #1181 unused import false positive if used as parameter in javadoc only.