eclipse-pmd icon indicating copy to clipboard operation
eclipse-pmd copied to clipboard

pmd can not find my enum class (configure auxclasspath)

Open xlmkjd opened this issue 7 years ago • 2 comments

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

xlmkjd avatar Aug 04 '18 07:08 xlmkjd

It is currently not possible to set the auxclasspath.

acanda avatar Aug 05 '18 12:08 acanda

Is there a plan to support ?

xlmkjd avatar Aug 06 '18 01:08 xlmkjd