targetModule = module.getVisibleLibraryWithNamespace( namespace );
targetModule = module.getLibraryWithNamespace( namespace );
	public void resolve( Module module, PropertyDefn defn, StructRefValue ref )	{		if ( ref.isResolved( ) || module == null )			return;		StructureDefn targetDefn = (StructureDefn) defn.getStructDefn( );		Structure target = null;		Module targetModule = null;		if ( ReferencableStructure.LIB_REFERENCE_MEMBER				.equals( defn.getName( ) ) )		{			String namespace = ref.getLibraryNamespace( );			targetModule = module.getVisibleLibraryWithNamespace( namespace );			if ( targetModule != null )			{				target = StructureRefUtil.findNativeStructure( targetModule,						targetDefn, ref.getName( ) );				if ( target != null )					ref.resolve( target );			}		}		else		{			// for now, "imageName" can only refer a local embedded image except			// that extended from the parent			String namespace = module instanceof Library ? ( (Library) module )					.getNamespace( ) : null;			assert StringUtil.isEqual( namespace, ref.getLibraryNamespace( ) );			target = StructureRefUtil.findNativeStructure( module, targetDefn,					ref.getName( ) );			if ( target != null )				ref.resolve( target );		}	}