DuplicatesProfile (@NotNull DupInfo dupInfo, int index) { for (DuplicatesProfile profile : EP_NAME.getExtensionList()) { if (profile.isMyDuplicate(dupInfo, index)) { return profile; } } return null; }