Better way of prohibit a method call

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Better way of prohibit a method call

Macarse
Hello

I have added checkstyle to my maven build to avoid developer to use
certain method.
The explanation of what I have done is here:
http://stackoverflow.com/a/16777162/119895

Is there a better way to check method calls than using a regex?

Thanks!

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
Loading...