private static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , TYPE_3 VAR_2 ) { TYPE_4 VAR_3 = VAR_1 . METHOD_2 ( VAR_2 ) ; if ( VAR_3 instanceof TYPE_1 ) { return ( ( TYPE_1 ) ( VAR_3 ) ) ; } else if ( VAR_3 instanceof TYPE_5 ) { return ( ( TYPE_5 ) ( VAR_3 ) ) . METHOD_3 ( ) ; } return null ; }

public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , TYPE_3 VAR_2 ) { TYPE_4 VAR_3 = VAR_1 . METHOD_2 ( VAR_2 ) ; if ( VAR_3 instanceof TYPE_1 ) { return ( ( TYPE_1 ) ( VAR_3 ) ) ; } else if ( VAR_3 instanceof TYPE_5 ) { return ( ( TYPE_5 ) ( VAR_3 ) ) . METHOD_3 ( ) ; } return null ; }
