Community
Participate
Working Groups
I know it is a non-standard feature, but I just noticed that while hasmember() works fine in native syntax, it does not seem to work in @AspectJ syntax. This works: declare parents : hasmethod(@MyAttribute * *(..)) implements Moody; This does not: @DeclareParents(value = "hasmethod(@de.scrum_master.app.MyAttribute * *(..))", defaultImpl = Moody.class) private Moody annotatedMethods; In the latter case the compiler with -XhasMember on says: no match for this type name: hasmethod [Xlint:invalidAbsoluteTypeName]