This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

@Override notations for member functions (e.g. onCreate on Android)


I can't seem to get them working, like in the following example:

(define-simple-class MainActivity (android.app.Activity)
  ((onCreate (savedInstanceState :: android.os.Bundle)) (@Override)
   (invoke-special android.app.Activity (this) 'onCreate savedInstanceState)
...)

Are @Override notation supported at all, and if so, how can I use them
on member functions like onCreate?

Thanks,

Marius K.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]