Hi,

I think it is not possible to do the following with AspectJ but maybe I am wrong :

1) I have a java class A which has no fields.
2) I use an aspect to introduce a field called f into A.
3) I can use f in A as if f were hard coded (in the java source) into A.

Is this possible ?
I know it is possible to something similar by providing default implementations for interfaces but that is not my question (interfaces can only have final fields).

Cheers,

Jozsef
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to