question: public List < Space > S ( ) throws ScopeException { ArrayList < Space > spaces = new ArrayList < Space > ( ) ; for ( Domain domain : getDomains ( ) ) { spaces . add ( S ( domain ) ) ; } return spaces ; }
target:  return all the available spaces