public TYPE_1 METHOD_1 ( ) throws java.lang.Exception { try ( TYPE_2 state = new TYPE_2 ( ) ) { METHOD_2 ( state ) ; return state . result ; } } 

public TYPE_1 METHOD_1 ( ) throws java.lang.Exception { try ( TYPE_2 state = new TYPE_2 ( ) ) { METHOD_2 ( state ) ; return ( ( TYPE_1 ) ( state . result ) ) ; } } 
