Autocomplete in IntelliJ IDEA is using not using the right API version?


I’m having a project where Confluence 7.19.1 is defined in the POM. IntelliJ is also doing the autocomplete on classes provided by the SDK.

But it seems like it uses an older version as I’m missing out the method “getTrashDate” on the ContentEntityObject:

Is there any way to check and change which is the source for Intellij IDEAs autocomplete function?

Thanks in advance

Solved: There was indeed a second dependency pointing to Confluence 7.6.0 - removed it and now it works.