Imports are preferred, but it's not intellij insisting that, it's how Javadoc works.