I tried to do the refactoring, but the method can't be getCloudVar. The interface CloudProvider has the same method. The edit.TransactionTag extends CloudReferrer and implements CloudProvider. A CloudProvider.getCloud returns the Cloud member and a CloudReferrerTag.getCloud returns the parent Cloud member. When the method is renamed the CloudReferrerTag is shadowed by the TransactionTag.getCloudVar, but they don't have the same functionality. I renamed the method to getProviderCloudVar
I don't see the problem
getCloudVar() returns the cloud variable belonging with the specified tag. I don't see how it can be ambiguous?
If you need the 'cloud' variable of a Transaction tag I think you need that transactions' cloud var, not its provider's?
I am not happy with 'getProviderCloudVar'.
-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Never summon anything bigger than your head."
