Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Re: Constructor introduction



In AspectJ 1.1 wildcards were dropped for inter-type declarations including
constructors because of the difficulty in associating a type with "this".
Unfortunately the trick of first adding a field or method to an interface
then adding the interface to multiple classes using declare parents and
wildcards is not available for constructors (see Appendix B of the "AspectJ
Programming Guide").

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/



Back to the top