package lawOfDemeter.objectform; import lawOfDemeter.Any; /** * @authors David H. Lorenz and Pengcheng Wu * @version 0.8, 12/19/02 */ /*** LINE 9 ***---*** DO NOTE MOVE THIS LINE ***---***/ aspect Percflow extends ObjectSupplier percflow(Any.Execution()|| Any.Initialization()){ before(): Any.Execution() { addValue(thisJoinPoint.getThis()); addAll(thisJoinPoint.getArgs()); } after() returning (Object result): Any.SelfCall(Object,Object) || Any.StaticCall() || Any.ConstructorCall() { addValue(result); } }