diffj icon indicating copy to clipboard operation
diffj copied to clipboard

Annotation at method's parameter level causing ClassCastException

Open wweellddeerr opened this issue 4 years ago • 0 comments

I am trying to compare two versions of a class (attached), and a ClassCastException is thrown. Cannot cast 'net.sourceforge.pmd.lang.java.ast.ASTType' to 'net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId'

Depuring the application, I'm supposing it is an error in handling annotations at the method parameter level (see line 397): public void prepare(@SuppressWarnings("rawtypes") Map<String, Object> topoConf, String schedulerLocalDir) {

Nimbus.java.txt Nimbus.java.txt

wweellddeerr avatar Apr 15 '20 02:04 wweellddeerr