@ Override public void visitField ( Field obj ) { if ( checkConfusedName ( obj . getName ( ) , obj . getSignature ( ) ) ) { bugReporter . reportBug ( new BugInstance ( this , BugType . CNC_COLLECTION_NAMING_CONFUSION . name ( ) , NORMAL_PRIORITY ) . addClass ( this ) . addField ( this ) . addString ( obj . getName ( ) ) ) ; } }
overrides the visitor to look for fields where the name has Map Set List in it but the type of that field isn t that .