checks whether the first given type is equal to or an ancestor of the second type within its base type hierarchy . concode_field_sep PlaceHolder placeHolder concode_field_sep Type computeCommonType concode_elem_sep PrimitiveType getBaseType
boolean function ( PrimitiveType arg0 , PrimitiveType arg1 ) { PrimitiveType loc0 = arg1 ; while ( loc0 != null ) { if ( EcoreUtil . equals ( arg0 , loc0 ) ) { return true ; } loc0 = arg1 . getBaseType ( ) ; } return false ; }