@ Restricted ( NoExternalUse . class ) public Collection < TokenInfoAndStats > getTokenList ( ) { return tokenStore . getTokenListSortedByName ( ) . stream ( ) . map ( token -> { ApiTokenStats . SingleTokenStats stats = tokenStats . findTokenStatsById ( token . getUuid ( ) ) ; return new TokenInfoAndStats ( token , stats ) ; } ) . collect ( Collectors . toList ( ) ) ; }
only for Jelly