private java.util.Collection < TYPE_1 > METHOD_1 ( java.lang.String element , TYPE_2 pattern ) throws java.io.IOException { java.util.List < TYPE_1 > result = new java.util.ArrayList < > ( ) ; java.io.File file = new java.io.File ( element ) ; if ( file . METHOD_2 ( ) ) { result . METHOD_3 ( METHOD_4 ( file , pattern ) ) ; } else { result . METHOD_3 ( METHOD_5 ( file , pattern ) ) ; } return result ; }

private java.util.Collection < TYPE_1 > METHOD_1 ( java.io.File file , TYPE_2 pattern ) throws java.io.IOException { java.util.List < TYPE_1 > result = new java.util.ArrayList < > ( ) ; if ( file . METHOD_2 ( ) ) { result . METHOD_3 ( METHOD_4 ( file , pattern ) ) ; } else { result . METHOD_3 ( METHOD_5 ( file , pattern ) ) ; } return result ; }
