Buggy code:
public boolean checkVisibility = false ; public boolean checkForbiddenReference = false ; public boolean checkDiscouragedReference = false ; public boolean forceImplicitQualification = false ; public char [ ] [ ] fieldPrefixes = null ; public char [ ] [ ] staticFieldPrefixes = null ; public char [ ] [ ] localPrefixes = null ; public char [ ] [ ] argumentPrefixes = null ; public char [ ] [ ] fieldSuffixes = null ; public char [ ] [ ] staticFieldSuffixes = null ; public char [ ] [ ] localSuffixes = null ; public char [ ] [ ] argumentSuffixes = null ; public AssistOptions ( ) { } public AssistOptions ( Map settings ) { } public void set ( Map optionsMap ) { Object optionValue ; if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_PerformVisibilityCheck ) ) != null ) { if ( AssistOptions . ENABLED . equals ( optionValue ) ) { this . checkVisibility = true ; } else if ( AssistOptions . DISABLED . equals ( optionValue ) ) { this . checkVisibility = false ; } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_ForceImplicitQualification ) ) != null ) { if ( AssistOptions . ENABLED . equals ( optionValue ) ) { this . forceImplicitQualification = true ; } else if ( AssistOptions . DISABLED . equals ( optionValue ) ) { this . forceImplicitQualification = false ; } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_FieldPrefixes ) ) != null ) { if ( optionValue instanceof String ) { String stringValue = ( ( String ) ( optionValue ) ) ; if ( ( stringValue . length ( ) ) > 0 ) { this . fieldPrefixes = CharOperation . splitAndTrimOn ( ',' , stringValue . toCharArray ( ) ) ; } else { this . fieldPrefixes = null ; } } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_StaticFieldPrefixes ) ) != null ) { if ( optionValue instanceof String ) { String stringValue = ( ( String ) ( optionValue ) ) ; if ( ( stringValue . length ( ) ) > 0 ) { this . staticFieldPrefixes = CharOperation . splitAndTrimOn ( ',' , stringValue . toCharArray ( ) ) ; } else { this . staticFieldPrefixes = null ; } } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_LocalPrefixes ) ) != null ) { if ( optionValue instanceof String ) { String stringValue = ( ( String ) ( optionValue ) ) ; if ( ( stringValue . length ( ) ) > 0 ) { this . localPrefixes = CharOperation . splitAndTrimOn ( ',' , stringValue . toCharArray ( ) ) ; } else { this . localPrefixes = null ; } } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_ArgumentPrefixes ) ) != null ) { if ( optionValue instanceof String ) { String stringValue = ( ( String ) ( optionValue ) ) ; if ( ( stringValue . length ( ) ) > 0 ) { this . argumentPrefixes = CharOperation . splitAndTrimOn ( ',' , stringValue . toCharArray ( ) ) ; } else { this . argumentPrefixes = null ; } } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_FieldSuffixes ) ) != null ) { if ( optionValue instanceof String ) { String stringValue = ( ( String ) ( optionValue ) ) ; if ( ( stringValue . length ( ) ) > 0 ) { this . fieldSuffixes = CharOperation . splitAndTrimOn ( ',' , stringValue . toCharArray ( ) ) ; } else { this . fieldSuffixes = null ; } } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_StaticFieldSuffixes ) ) != null ) { if ( optionValue instanceof String ) { String stringValue = ( ( String ) ( optionValue ) ) ; if ( ( stringValue . length ( ) ) > 0 ) { this . staticFieldSuffixes = CharOperation . splitAndTrimOn ( ',' , stringValue . toCharArray ( ) ) ; } else { this . staticFieldSuffixes = null ; } } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_LocalSuffixes ) ) != null ) { if ( optionValue instanceof String ) { String stringValue = ( ( String ) ( optionValue ) ) ; if ( ( stringValue . length ( ) ) > 0 ) { this . localSuffixes = CharOperation . splitAndTrimOn ( ',' , stringValue . toCharArray ( ) ) ; } else { this . localSuffixes = null ; } } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_ArgumentSuffixes ) ) != null ) { if ( optionValue instanceof String ) { String stringValue = ( ( String ) ( optionValue ) ) ; if ( ( stringValue . length ( ) ) > 0 ) { this . argumentSuffixes = CharOperation . splitAndTrimOn ( ',' , stringValue . toCharArray ( ) ) ; } else { this . argumentSuffixes = null ; } } } if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_PerformForbiddenReferenceCheck ) ) != null ) { if ( AssistOptions . ENABLED . equals ( optionValue ) ) { this . checkForbiddenReference = true ; } else if ( AssistOptions . DISABLED . equals ( optionValue ) ) { this . checkForbiddenReference = false ; } } <START_BUG> if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_PerformForbiddenReferenceCheck ) ) != null ) { <END_BUG> if ( AssistOptions . ENABLED . equals ( optionValue ) ) { this . checkDiscouragedReference = true ; } else if ( AssistOptions . DISABLED . equals ( optionValue ) ) { this . checkDiscouragedReference = false ; } } } }

Fix:
if ( ( optionValue = optionsMap . get ( AssistOptions . OPTION_PerformDiscouragedReferenceCheck ) ) != null ) {