Hello,
May the type pattern declare a check for annotation value?
Let's say we have following class definitions:
@SupportsVersioning(isRoot = true)
public class Configuration {
...
}
@SupportsVersioning(isRoot = false)
public class Setting {
...
}
And *declare parents* statement must be applied for classes which are
annotated with @SupportVersioning annotation having isRoot = true, but not
for those which have the value of isRoot set to false.
Is there a way to achieve this?
It seems like presence of annotation may be analysed, but not its values,
but I may be wrong.
If there is no workaround for this problem I'll create two distinct
parameterless annotations: one for roots and another one for non-roots.
Thank you in advance.
--
Yours faithfully,
Tsukur Vladimir aka _flush_dia_
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users