acanda / eclipse-pmd

eclipse-pmd has been moved to
https://github.com/eclipse-pmd/eclipse-pmd
Other
21 stars 10 forks source link

pmd can not find my enum class (configure auxclasspath) #55

Open xlmkjd opened 6 years ago

xlmkjd commented 6 years ago

i write a custom rule to ensure enum equals use "==", so first of all ,i have to identify which class is enum in my project. i use "name.getType().isEnum() " to do it. but is not effective.

the reason maybe The class not loaded. so i want to asking , pmd has a auxclasspath configuration, how do i configure in my project.

thank you

acanda commented 6 years ago

It is currently not possible to set the auxclasspath.

xlmkjd commented 6 years ago

Is there a plan to support ?