public Collection < JavaClassSource > allResources ( ) { Set < JavaClassSource > result = new HashSet <> ( ) ; for ( DTOPair pair : dtos . values ( ) ) { if ( pair . rootDTO != null ) { result . add ( pair . rootDTO ) ; } if ( pair . nestedDTO != null ) { result . add ( pair . nestedDTO ) ; } } return result ; }
Retrieves all the DTOs present in this instance .