boolean (Object o) { if( this == o ) { return true; } if( !(o instanceof DnDEventImpl event) ) { return false; } if( myDropPossible != event.myDropPossible ) { return false; } if( myHighlighting != event.myHighlighting ) { return false; } if( myAttachedObject != null? !myAttachedObject.equals(event.myAttachedObject): event.myAttachedObject != null ) { return false; } if( myExpectedDropResult != null? !myExpectedDropResult.equals(event.myExpectedDropResult): event.myExpectedDropResult != null ) { return false; } return true; }