Reserved words (default final) on Defender Methods/Virtual Extensions

Jose A. Illescas jantonio.illescas at
Wed Aug 8 03:58:27 PDT 2012

Hello, I'm a newie here

After read the Defender Method proposal I have one question:

   Why use default/final keywods after body method?

     ·  boolean isOk() default ...
     ·  boolean isError() final ...

I think next proposal is more intuitive:

     · boolean isOk() { ... }   => method body {...} marks a "default" 
     · final boolean isError() { ... } => final keyword (at begin as 
standard method modifiers) and method body marks a "final default" 

More easy to remember and more naturally to java developers

More information about the lambda-dev mailing list