String function ( ) { return derivedInheritance . getName ( ) + "srini_string" + baseInheritance . getName ( ) ; }
return true if anoperation overloads an existing operation . protected boolean isoverload domainoperation anoperation int depth = derivedinheritance.getdepth ; for int i = 0 ; i < = depth-1 ; i + + for domaininheritance superinheritance : derivedinheritance.getsuperinheritances depth domainfragment basefragment = superinheritance.getselffragment ; for domainoperation baseoperation : basefragment.getoperations if isoverload anoperation , baseoperation return true ; return false ; concode_field_sep CompleteInheritance baseInheritance concode_elem_sep CompleteInheritance derivedInheritance concode_field_sep InheritanceFragment getBaseFragment concode_elem_sep Operation getActualOperation concode_elem_sep CompleteInheritance getBaseInheritance concode_elem_sep CompleteInheritance getDerivedInheritance