returns the deepest directory that contains both paths . concode_field_sep FileSystem fileSystem concode_elem_sep Map<Path,PBXGroup> groupCache concode_field_sep void add concode_elem_sep Path path concode_elem_sep Path parent concode_elem_sep PBXGroup rootGroup concode_elem_sep Iterable<PBXReference> process concode_elem_sep Path dirOfContainingPbxGroup
Path function ( Path arg0 , Path arg1 ) { Path loc0 = path ( "srini_string" ) ; int loc1 = 0 ; while ( ( loc1 < Math . min ( arg0 . getNameCount ( ) , arg1 . getNameCount ( ) ) ) && Equaling . of ( arg0 . getName ( loc1 ) , arg1 . getName ( loc1 ) ) ) { loc0 = loc0 . resolve ( arg0 . getName ( loc1 ) ) ; loc1 ++ ; } return loc0 ; }