code: public ArrayList<Permission> getEffectivePermissions(String codeBase) {
          List<Permission> emptyPermissions = Collections.emptyList();
          return getEffectivePermissions(emptyPermissions, codeBase);
      }
docs: Return the effective granted permissions.
  
  @param codeBase - The code base of the code to obtain the effective permissions for.
  @return the effective granted permissions.