public List < String > getIdsAddOnDependencies ( ) { if ( dependencies == null ) { return Collections . emptyList ( ) ; } List < String > ids = new ArrayList <> ( dependencies . getAddOns ( ) . size ( ) ) ; for ( AddOnDep dep : dependencies . getAddOns ( ) ) { ids . add ( dep . getId ( ) ) ; } return ids ; }
Returns the IDs of the add - ons dependencies an empty collection if none .