Re: Forbid static method call

"Leif Bladt (Inxmail GmbH)" <[email protected]> Wed, 2 Dec 2009 08:47:34 +0100
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Hi Oliver and Romain,

> Your best bet if you want a 100% reliable way of preventing calls to certain static methods is to use PMD as this tool provides access to the type information that is required.
Works like a charm. Thanks a lot!


Leif

-- 
Software Developer

------------------------------------------------------

Inxmail GmbH
Wentzingerstr. 21, 79106 Freiburg, Germany
Tel: +49 761 296979-0, Fax: -9
[email protected], www.inxmail.de


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev