Buggy code:
public class ToolBar extends Composite { int itemCount ; ToolItem [ ] items ; NSArray accessibilityAttributes = null ; ToolItem lastFocus ; public ToolBar ( Composite parent , int style ) { } int accessibilityAttributeValue ( int id , int sel , int arg0 ) { NSString nsAttributeName = new NSString ( arg0 ) ; <START_BUG> if ( ( accessible ) != null ) { <END_BUG> id returnObject = accessible . internal_accessibilityAttributeValue ( nsAttributeName , CHILDID_SELF ) ; if ( returnObject != null ) return returnObject . id ; } if ( ( nsAttributeName . isEqualToString ( NSAccessibilityRoleAttribute ) ) || ( nsAttributeName . isEqualToString ( NSAccessibilityRoleDescriptionAttribute ) ) ) { NSString role = OS . NSAccessibilityToolbarRole ; if ( nsAttributeName . isEqualToString ( NSAccessibilityRoleAttribute ) ) return role . id ; else { int roleDescription = OS . NSAccessibilityRoleDescription ( role . id , 0 ) ; return roleDescription ; } } else if ( nsAttributeName . isEqualToString ( NSAccessibilityChildrenAttribute ) ) { NSMutableArray returnValue = NSMutableArray . arrayWithCapacity ( itemCount ) ; for ( int i = 0 ; i < ( itemCount ) ; i ++ ) { returnValue . addObject ( new id ( getItem ( i ) . accessibleHandle ( ) ) ) ; } return returnValue . id ; } else if ( nsAttributeName . isEqualToString ( NSAccessibilityEnabledAttribute ) ) { return NSNumber . numberWithBool ( isEnabled ( ) ) . id ; } else if ( nsAttributeName . isEqualToString ( NSAccessibilityFocusedAttribute ) ) { boolean focused = ( view . id ) == ( view . window ( ) . firstResponder ( ) . id ) ; return NSNumber . numberWithBool ( focused ) . id ; } return super . accessibilityAttributeValue ( id , sel , arg0 ) ; } boolean accessibilityIsIgnored ( int id , int sel ) { } static int checkStyle ( int style ) { } protected void checkSubclass ( ) { } public Point computeSize ( int wHint , int hHint , boolean changed ) { } public Rectangle computeTrim ( int x , int y , int width , int height ) { } void createHandle ( ) { } void createItem ( ToolItem item , int index ) { } void createWidget ( ) { } void destroyItem ( ToolItem item ) { } void drawBackground ( int id , NSGraphicsContext context , NSRect rect ) { } void enableWidget ( boolean enabled ) { } Widget findTooltip ( NSPoint pt ) { } boolean forceFocus ( NSView focusView ) { } public ToolItem getItem ( int index ) { } public ToolItem getItem ( Point pt ) { } public int getItemCount ( ) { } public ToolItem [ ] getItems ( ) { } public int getRowCount ( ) { } boolean hasKeyboardFocus ( int inId ) { } public int indexOf ( ToolItem item ) { } int [ ] layoutHorizontal ( int width , int height , boolean resize ) { } int [ ] layoutVertical ( int width , int height , boolean resize ) { } int [ ] layout ( int nWidth , int nHeight , boolean resize ) { } void relayout ( ) { } void releaseChildren ( boolean destroy ) { } void releaseHandle ( ) { } void removeControl ( Control control ) { } void resized ( ) { } void reskinChildren ( int flags ) { } void setFont ( NSFont font ) { } public void setRedraw ( boolean redraw ) { } boolean translateTraversal ( int key , NSEvent theEvent , boolean [ ] consume ) { } }

Fix:
if ( ( id == ( accessibleHandle ( ) ) ) && ( ( accessible ) != null ) ) {