private TYPE_1 METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { TYPE_1 node = null ; if ( VAR_1 instanceof TYPE_3 ) { for ( TYPE_1 VAR_3 : ( ( TYPE_3 ) ( VAR_1 ) ) . METHOD_2 ( ) ) { node = METHOD_1 ( VAR_3 , VAR_2 ) ; if ( node != null ) { return node ; } } } if ( VAR_1 . contains ( VAR_2 ) ) { return VAR_1 ; } else { return null ; } }

protected TYPE_1 METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { TYPE_1 node = null ; if ( VAR_1 instanceof TYPE_3 ) { for ( TYPE_1 VAR_3 : ( ( TYPE_3 ) ( VAR_1 ) ) . METHOD_2 ( ) ) { node = METHOD_1 ( VAR_3 , VAR_2 ) ; if ( node != null ) { return node ; } } } if ( VAR_1 . contains ( VAR_2 ) ) { return VAR_1 ; } else { return null ; } }
