Buggy code:
public class BrowserStructureViewToolPanel extends JPanel { private StructureView currentView ; private StructureViewPanel viewPanel ; protected BorderLayout borderLayout1 = new BorderLayout ( ) ; protected Border border1 ; protected Border border2 ; AJButtonMenuCombo granularityCombo ; AJButtonMenuCombo filterCombo ; AJButtonMenuCombo relationsCombo ; JPanel buttons_panel = new JPanel ( ) ; JPanel spacer_panel = new JPanel ( ) ; BorderLayout borderLayout2 = new BorderLayout ( ) ; BorderLayout borderLayout3 = new BorderLayout ( ) ; JPanel view_panel = new JPanel ( ) ; JComboBox view_comboBox = null ; JLabel view_label = new JLabel ( ) ; BorderLayout borderLayout4 = new BorderLayout ( ) ; public BrowserStructureViewToolPanel ( List structureViews , StructureView currentView , StructureViewPanel viewPanel ) { } private void initToolBar ( ) { } private JPopupMenu createFilterMenu ( ) { JPopupMenu filterMenu = new JPopupMenu ( ) ; IProgramElement [ ] accessibility = Accessibility . ALL ; for ( int i = 0 ; i < ( accessibility . length ) ; i ++ ) { BrowserStructureViewToolPanel . CheckBoxSelectionMenuButton menuItem = new BrowserStructureViewToolPanel . CheckBoxSelectionMenuButton ( accessibility [ i ] ) ; menuItem . setIcon ( AjdeUIManager . getDefault ( ) . getIconRegistry ( ) . getAccessibilitySwingIcon ( accessibility [ i ] ) ) ; filterMenu . add ( menuItem ) ; } filterMenu . add ( new JSeparator ( ) ) ; IProgramElement [ ] kinds = Kind . ALL ; for ( int i = 0 ; i < ( kinds . length ) ; i ++ ) { <START_BUG> if ( kinds [ i ] . isMemberKind ( ) ) { <END_BUG> BrowserStructureViewToolPanel . CheckBoxSelectionMenuButton menuItem = new BrowserStructureViewToolPanel . CheckBoxSelectionMenuButton ( kinds [ i ] ) ; menuItem . setIcon ( ( ( Icon ) ( AjdeUIManager . getDefault ( ) . getIconRegistry ( ) . getIcon ( kinds [ i ] ) . getIconResource ( ) ) ) ) ; filterMenu . add ( menuItem ) ; } } filterMenu . add ( new JSeparator ( ) ) ; IProgramElement [ ] modifiers = Modifiers . ALL ; for ( int i = 0 ; i < ( modifiers . length ) ; i ++ ) { BrowserStructureViewToolPanel . CheckBoxSelectionMenuButton menuItem = new BrowserStructureViewToolPanel . CheckBoxSelectionMenuButton ( modifiers [ i ] ) ; filterMenu . add ( menuItem ) ; } return filterMenu ; } private JPopupMenu createRelationsMenu ( ) { } private JPopupMenu createGranularityMenu ( ) { } private class RadioSelectionMenuButton extends JRadioButtonMenuItem { public RadioSelectionMenuButton ( StructureViewProperties . Granularity granularity , ButtonGroup group ) { } } private class RadioSelectionMenuActionListener implements ActionListener { private Granularity granularity ; public RadioSelectionMenuActionListener ( StructureViewProperties . Granularity granularity ) { } public void actionPerformed ( ActionEvent e ) { } } private class CheckBoxSelectionMenuButton extends JCheckBoxMenuItem { public CheckBoxSelectionMenuButton ( String name ) { } public CheckBoxSelectionMenuButton ( IProgramElement . Accessibility accessibility ) { } public CheckBoxSelectionMenuButton ( IProgramElement . Kind kind ) { } public CheckBoxSelectionMenuButton ( IProgramElement . Modifiers modifiers ) { } public CheckBoxSelectionMenuButton ( StructureViewProperties . Sorting sorting ) { } public CheckBoxSelectionMenuButton ( IRelationship . Kind relation ) { } } private class CheckBoxSelectionMenuActionListener implements ActionListener { private Accessibility accessibility = null ; private Kind kind = null ; private Modifiers modifiers = null ; private Sorting sorting = null ; private IRelationship . Kind relation = null ; public CheckBoxSelectionMenuActionListener ( IProgramElement . Accessibility accessibility ) { } public CheckBoxSelectionMenuActionListener ( IProgramElement . Kind kind ) { } public CheckBoxSelectionMenuActionListener ( IProgramElement . Modifiers modifiers ) { } public CheckBoxSelectionMenuActionListener ( StructureViewProperties . Sorting sorting ) { } public CheckBoxSelectionMenuActionListener ( IRelationship . Kind relationKind ) { } public void actionPerformed ( ActionEvent e ) { } } private void jbInit ( ) throws Exception { } void separator_button_actionPerformed ( ActionEvent e ) { } void view_comboBox_actionPerformed ( ActionEvent e ) { } }

Fix:
if ( kinds [ i ] . isMember ( ) ) {