[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: AspectJ and Encapsulation (was [aspectj-users] Q about "adviceexecution" and "declare error")
|
Kevin,
Your original post concerning writing
enforcement aspect _does_ belong in aspectj-users but I have nothing particular
to add to the contributions of the other posters. AspectJ declare warning/error
needs join points and so it can be used to write rules about the structure
of you code. Many rules concerning naming conventions do not involve a
join point. In this case you have stepped outside of the remit and hence
capability of AspectJ and you may be better of using a more appropriate
tool.
Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM United Kingdom Limited
Hursley Park, Winchester, SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU