> I don't know if I get your suggestion right but you want to warn only during > build time and not on runtime, right? Thats an interesting approach. We do
Yes, just during build time. Tanks for taking time to think about it! Gian Marco Gherardi http://gianmarco.gherardi.me On Tue, Jul 26, 2011 at 9:40 AM, Martin Wittemann <[email protected]> wrote: > Hey, > I don't know if I get your suggestion right but you want to warn only during > build time and not on runtime, right? Thats an interesting approach. We do > have a bug open [1] for such annotations for quite a long time and didn't > come up with a good idea. I like the idea in general having those warnings > only during build time and will have a word with our responsible developer > for the toolchain. He will sure put in his ideas for such a topic too. :) > Best, > Martin > [1] http://bugzilla.qooxdoo.org/show_bug.cgi?id=2471 > > Am 25.07.2011 um 18:34 schrieb Gian Marco Gherardi: > > Hi, > inspired by the implementation of warning for job shadowing, and by > @Override annotation in Java, i propose to have the same functionality > for Qx class members > > here is an example: > > qx.Class.define("trackr.view.EditTaskComposite", { > extend: qx.ui.container.Composite, > > members: { > // unintended override/shadowing of qx.ui.container.Composite._add !! > // This unintended shadowing should be catched and notified as > warning during source/build job > _add: function () { > }, > > // intentional override. In this case the @override directive > instruct the toolchain that > // this override is intentional. The toolchain in this case should > generate a warning > // if there's no corresponding method on the base class to override > // @override > _remove: function () { > this.base(arguments); > } > } > }); > > What do you think? > > Gian Marco Gherardi > http://gianmarco.gherardi.me > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! > http://www.accelacomm.com/jaw/sfnl/114/51427378/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
