If you have a class with: new Comparable<String>() {...} the BCERepository.getUses() do'nt retrieve the String class.