public static TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) throws TYPE_2 { for ( TYPE_1 op : TYPE_1 . values ( ) ) { if ( op . METHOD_2 ( ) . METHOD_3 ( VAR_1 ) ) { return op ; } else if ( ( VAR_1 . METHOD_3 ( STRING_1 ) ) || ( VAR_1 . METHOD_3 ( STRING_2 ) ) ) { throw new TYPE_2 ( ( VAR_1 + STRING_3 ) ) ; } } return null ; }

public static TYPE_1 METHOD_1 ( java.lang.String VAR_1 ) throws TYPE_2 { for ( TYPE_1 op : TYPE_1 . values ( ) ) { if ( op . METHOD_2 ( ) . METHOD_3 ( VAR_1 ) ) { return op ; } else if ( ( STRING_1 . equals ( VAR_1 ) ) || ( STRING_2 . equals ( VAR_1 ) ) ) { throw new TYPE_2 ( ( VAR_1 + STRING_3 ) ) ; } } return null ; }
