public AddOnChangesResult calculateInstallChanges(AddOn addOn){
  Set<AddOn> addOns=new HashSet<>();
  addOns.add(addOn);
  return calculateInstallChanges(addOns);
}

public AddOnChangesResult calculateInstallChanges ( AddOn addOn ) { Set < AddOn > addOns = new HashSet < > ( ) ; addOns . add ( addOn ) ; return calculateInstallChanges ( addOns ) ; }
calculates the changes required to install the given add - on . < p > it might require updating , installing or uninstalling other add - ons depending on the dependencies of the affected add - ons .
