static void METHOD_1 ( java.lang.String path , java.lang.String text ) throws TYPE_1 { try ( TYPE_2 VAR_1 = new TYPE_2 ( path ) ) { VAR_1 . METHOD_2 ( text ) ; } }
static void METHOD_1 ( java.lang.String path , java.lang.String text ) throws java.io.IOException { try ( java.io.BufferedWriter out = new java.io.BufferedWriter ( new java.io.FileWriter ( path ) ) ) { out.write ( text ) ; } }