public List<JID> getBuddiesWithSarosSupport() {
List<JID> buddies = new ArrayList<JID>();
List<RosterEntryElement> objects = collectAllRosterEntryElement((TreeViewer) this.viewer);
for (RosterEntryElement rosterEntryElement : objects) {
if (rosterEntryElement.isSarosSupported()) {
JID jid = (JID) rosterEntryElement.getAdapter(JID.class);
if (jid != null && !buddies.contains(jid)) {
buddies.add(jid);
}
}
}