PiRSquared17 / tomproject

Automatically exported from code.google.com/p/tomproject
0 stars 0 forks source link

TomAction: check static or deprecate #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The TomAction constructor that receive a Class as parameter need to check if 
the specified methodName if a static method, because this check is not done 
when compile, and can throw runtime error without compiler advices.

If its not possible to check if the method is static, then deprecate the 
contructor with Class parameter.

Original issue reported on code.google.com by brito....@gmail.com on 8 Mar 2010 at 1:12

GoogleCodeExporter commented 9 years ago

Original comment by brito....@gmail.com on 8 Mar 2010 at 10:29

GoogleCodeExporter commented 9 years ago

Original comment by brito....@gmail.com on 9 Apr 2010 at 12:38