code: public Addon getAddonForView(final AddonView view, final AddonId id)
     {
        return lock.performLocked(LockMode.READ, new Callable<Addon>()
        {
           @Override
           public Addon call() throws Exception
           {
              for (AddonVertex vertex : getCurrentGraph().getGraph().vertexSet())
              {
                 if (vertex.getAddonId().equals(id) && vertex.getViews().contains(view))
                 {
                    return vertex.getAddon();
                 }
              }
              return null;
           }
        });
     }
docs: Return an {@link Addon} compatible with the given {@link AddonView}, if it is already registered (this occurs when
  {@link AddonView} instances share {@link Addon} sub-graphs.