Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] how to TypeList in @DeclareParents

how to rewrite:

declare parents: (Point || Line || Square) implements HasName;

into @DeclareParent form.

Can I write it as or something as below:

@DeclareParents(value="Point, Line, Square",
   defaultImpl=HasName.class)


thanks.



Back to the top