public static TYPE_1 METHOD_1 ( ) { if ( TYPE_2 . METHOD_2 ( ) ) { return new TYPE_3 ( ) ; } else if ( TYPE_2 . METHOD_3 ( ) ) { return new TYPE_4 ( ) ; } else if ( TYPE_2 . METHOD_4 ( ) ) { return new TYPE_5 ( ) ; } else { throw new TYPE_6 ( STRING_1 ) ; } }

public static TYPE_1 METHOD_1 ( ) { if ( TYPE_2 . METHOD_2 ( ) ) { return new TYPE_3 ( ) ; } else if ( TYPE_2 . METHOD_3 ( ) ) { return new TYPE_4 ( ) ; } else { return new TYPE_5 ( ) ; } }
