python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
PMD: Is there a way for rule writer to get the package name of the current node?
Well I have the Node, and I can get what class Name it in, but I cannot get package of this class.
Is there any way to achieve this?
Thanks!
BTW: I'm talking about PMD, so people who don't know what P...
XenoAmess
Votes: 0
Answers: 2
How to get attribute from xml by PMD
I write a rule for xml, and it can find the line matched of xml.
xml:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:sofa="http://schema.alipay.com/sofa/schema/...
T. Chen
Votes: 0
Answers: 1
PMD rule for java to avoid using @Autowired annotation on class fields- to not use field injection
I want to have a pmd rule for my java project which will disallow field injections in Spring(want to use injection by constructor instead). is there any pmd rule for it, or can I create some to have i...
barteksikora97
Votes: 0
Answers: 1