accountConjunction.add(eqOrIsNull("twitchToken", emptyToNull(twitchToken)));
}
Session session = sessionFactory.getCurrentSession();
if (accessToken == null && clientToken == null) {
@SuppressWarnings("unchecked")
<BUG>List<String> ids = session.createCriteria(Account.class).add(accountConjunction).setProjection(property("id")).list();
</BUG>
return ids;
} else {
Conjunction tokenConjunction = conjunction();

accountConjunction.add(eqOrIsNull("twitchToken", emptyToNull(twitchToken)));
}
Session session = sessionFactory.getCurrentSession();
if (accessToken == null && clientToken == null) {
@SuppressWarnings("unchecked")
List<String> ids = session.createCriteria(Account.class).add(accountConjunction).setProjection(property("id")).setCacheable(true).list();
return ids;
} else {
Conjunction tokenConjunction = conjunction();
