Proxy proxy = (Proxy)grantable; scopeStr = "<span class=\"label\">acting as </span>" + proxy.getGrantor().getName();
scopeStr = "";
  public static String scopeStr(Grantable grantable)  {    String scopeStr;        if (grantable instanceof Assignment)    {      Assignment assignment = (Assignment)grantable;      scopeStr = assignment.getScope().getName();    }    else    {      Proxy proxy = (Proxy)grantable;      scopeStr        = "<span class=\"label\">acting as </span>"          + proxy.getGrantor().getName();    }          return scopeStr;  }