Hi,
I don't know if it is possible, but I'd like to declare a warning for a 
constructor calls of objects SerializableObject+ when the constructors do not 
initialize all the Collection+ declared within the same class. My thought is 
to write a pointcut that exports the context of the object being constructed, 
so that with reflection I can see the declared collections and get their 
values (that should not be null). The problem is that declare warning works 
not at run-time, right? So I cannot get a context or execute reflection on the 
object. Is there a way to achieve this?

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

Reply via email to