@ Override public Collection < Language > all ( ) { org . sonar . api . resources . Language [ ] all = languages . all ( ) ; Collection < Language > result = new ArrayList <> ( all . length ) ; for ( org . sonar . api . resources . Language language : all ) { result . add ( new Language ( language . getKey ( ) , language . getName ( ) , language . getFileSuffixes ( ) ) ) ; } return result ; }
Get list of all supported languages .