[rules-dev] Declared types - extension

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jul 13 11:40:29 EDT 2011


On 13 July 2011 17:28, Michael Anstis <michael.anstis at gmail.com> wrote:

> Here's some detail from Sotty:-
>
>    - It is indeed necessary to declare a legacy class if you want another
>    to extend it.
>
>
Exception:
   When the DRL is headed package foo and
      the class Foo is in package foo and
      the DRL contains an import for foo.Foo
   then
      you don't have to declare Foo end to do an extends Foo

Love it!
-W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110713/ba8f1899/attachment.html 


More information about the rules-dev mailing list