private TYPE_1 METHOD_1 ( TYPE_2 node ) { TYPE_2 VAR_1 = node ; while ( VAR_1 != null ) { TYPE_1 VAR_2 = VAR_1 . METHOD_2 ( ) ; if ( VAR_2 != null ) { return VAR_2 ; } VAR_1 = VAR_1 . METHOD_3 ( ) ; if ( VAR_1 instanceof TYPE_3 ) { break ; } } return null ; }

public TYPE_1 METHOD_1 ( TYPE_2 node ) { TYPE_2 VAR_1 = node ; while ( VAR_1 != null ) { TYPE_1 VAR_2 = VAR_1 . METHOD_2 ( ) ; if ( VAR_2 != null ) { return VAR_2 ; } VAR_1 = VAR_1 . METHOD_3 ( ) ; if ( VAR_1 instanceof TYPE_3 ) { break ; } } return null ; }
