gets the correct element name for the specified module . if the module is the root element of element , no libray namespace is in the return string . if the root element of element is not module and it is a library with the namespace , the return value contains the namespace . this is used to allocate the referenced element/structure within the correct scope . concode_field_sep PlaceHolder placeHolder concode_field_sep ElementRefValue resolveElementReference concode_elem_sep ElementRefValue resolveElementReference concode_elem_sep StructRefValue resolveStructReference concode_elem_sep void updateReference concode_elem_sep void resloveExtends
String function ( DesignElement arg0 , Module arg1 , Module arg2 ) { if ( arg0 == null ) return null ; String loc0 = null ; if ( arg1 != null && arg1 instanceof Library ) loc0 = ( ( Library ) arg1 ) . getNamespace ( ) ; String loc1 = arg0 . getFullName ( ) ; if ( arg1 != arg2 ) loc1 = loc0 + ReferenceValue . NAMESPACE_DELIMITER + loc1 ; return loc1 ; }