record that the supplied resource was referenced by an object in this resource . this method is called when the eobject is resolved . concode_field_sep boolean includeDiagramReferences concode_elem_sep boolean includeResolvedReferences concode_elem_sep Resource resource concode_elem_sep Map referencedObjectsByResourceUri concode_elem_sep Set objects concode_elem_sep boolean DEFAULT_INCLUDE_DIAGRAM_REFERENCES concode_elem_sep boolean DEFAULT_INCLUDE_RESOLVED_REFERENCES concode_elem_sep boolean DEFAULT_RESOLVE_REFERENCE concode_elem_sep URI resourceUri concode_field_sep void setIncludeResolvedReferences concode_elem_sep Resource getResource concode_elem_sep Resource getResource concode_elem_sep boolean isIncludeResolvedReferences concode_elem_sep URI getResourceUri concode_elem_sep boolean processReference concode_elem_sep Collection getExternalReferences concode_elem_sep ExternalReferences getReferencedObjects concode_elem_sep Collection getReferencedObjects concode_elem_sep boolean visit concode_elem_sep boolean visit concode_elem_sep void setIncludeDiagramReferences concode_elem_sep void setResource concode_elem_sep void addReferencedObject concode_elem_sep boolean isIncludeDiagramReferences
void function ( final Resource arg0 , final EObject arg1 ) { final URI loc0 = arg0 . getURI ( ) ; final ExternalReferences loc1 = getReferencedObjects ( loc0 , true ) ; loc1 . setResource ( arg0 ) ; if ( this . includeResolvedReferences ) { loc1 . addReferencedObject ( arg1 ) ; } }