Thank you very much!

On Mon, Mar 3, 2008 at 11:55 AM, Ramnivas Laddad <[EMAIL PROTECTED]>
wrote:

> Check out the very latest AspectJ 1.6.0m2 (
> http://www.eclipse.org/aspectj/doc/released/README-160.html). The
> annotation value feature might just do the trick for you.
>
> -Ramnivas
>
> On Sun, Mar 2, 2008 at 6:05 PM, Vladimir Tsukur aka _flush_dia_ <
> [EMAIL PROTECTED]> wrote:
>
> > 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
> >
> >
>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>


-- 
Yours faithfully,
Tsukur Vladimir aka _flush_dia_
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to