Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] RE: Perobject association

 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> aspect A perthis(<Type>) {
> 
> }
> 
> is nothing more than:
> 
> aspect perobject(<Type>) {
> 
> 	after(<Type> t) : this(t) {
> 		associate(t);
> 	}
> 
> }

This should maybe have been:

aspect A perthis(<pointcut>) {

}

is nothing more than:

aspect perobject(Object) {

	after(Object o) : <pointcut> && this(o) {
 		associate(o);
 	}
 
}

But I am sure, you already knew, what I mean...

Eric

- -- 
Eric Bodden
Chair I2 for Programming Languages and Program Analysis
RWTH Aachen University

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3

iQA/AwUBQfp8h8wiFCm7RlWCEQI/7wCguwrvgug9XE0Q2fQVPHMGIvqiLbsAnR0g
7a8LWxw9Eohu0WMsaitiNgpW
=A+7G
-----END PGP SIGNATURE-----




Back to the top