protected static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { TYPE_3 VAR_2 = VAR_1 . METHOD_2 ( ) ; if ( VAR_2 instanceof TYPE_1 ) { return ( ( TYPE_1 ) ( VAR_2 ) ) ; } if ( VAR_1 instanceof TYPE_4 ) { for ( TYPE_5 VAR_3 : ( ( TYPE_4 ) ( VAR_1 ) ) . METHOD_3 ( false ) ) { TYPE_3 element = VAR_3 . METHOD_4 ( ) ; if ( element instanceof TYPE_1 ) { return ( ( TYPE_1 ) ( element ) ) ; } } } return null ; }

public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { TYPE_3 VAR_2 = VAR_1 . METHOD_2 ( ) ; if ( VAR_2 instanceof TYPE_1 ) { return ( ( TYPE_1 ) ( VAR_2 ) ) ; } if ( VAR_1 instanceof TYPE_4 ) { for ( TYPE_5 VAR_3 : ( ( TYPE_4 ) ( VAR_1 ) ) . METHOD_3 ( false ) ) { TYPE_3 element = VAR_3 . METHOD_4 ( ) ; if ( element instanceof TYPE_1 ) { return ( ( TYPE_1 ) ( element ) ) ; } } } return null ; }
