public static TYPE_1 METHOD_1 ( java.lang.String name ) throws java.lang.Exception { return new TYPE_2 ( java.util.Arrays.asList ( name ) ) . METHOD_2 ( ) . get ( name ) ; } 

public static TYPE_1 METHOD_1 ( java.lang.String name ) throws java.lang.Exception { return new TYPE_2 ( new java.util.ArrayList < java.lang.String > ( java.util.Arrays.asList ( name ) ) ) . METHOD_2 ( ) . get ( name ) ; } 
