Community
Participate
Working Groups
Should be a way to access the original field value at a set joint point built into the language. a possible solution is to add getOriginalFieldValueAtAFieldSetJoinPoint() method to the thisJoinPoint interface. a usage example would be: after(Object newValue) returning : set( * *) && args(newValue) { Object oldValue = thisJoinPoint.getOriginalFieldValueAtAFieldSetJoinPoint() ; if (!oldValue.equals(newValue) { firePropertyChangeEvent(oldValue,newValue,thisJoinPoint.getSignature()); } }
We're not going to get to this in AJ 1.5.0. Marking as "LATER" for consideration in 1.5.1 and future release planning.
LATER/REMIND bugs are being automatically reopened as P5 because the LATER and REMIND resolutions are deprecated.