Currently, declare error only accepts a pointcut expression.  It would
be nice if it also accepted a type pattern.

For example:

declare error: (@Endable *) && (!hasmethod(protected * end(Date)) :
"no protected end(Date) method";

It's kind of like compile-time enforcement of interface methods, only
I want it to support non-public methods.

How can I do this at compile time without having declare error
enhanced to support type patterns?

Thanks,
Matthew

-- 
mailto:[email protected]
skype:matthewadams12
yahoo:matthewadams
aol:matthewadams12
google-talk:[email protected]
msn:[email protected]
http://matthewadams.me
http://www.linkedin.com/in/matthewadams
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to