private TYPE_1 METHOD_1 ( final java.lang.String value ) { final TYPE_2 token = TYPE_2 . get ( value . toUpperCase ( ) ) ; if ( token != null ) { return new TYPE_1 ( token , value ) ; } return new TYPE_1 ( VAR_1 , value ) ; }

private TYPE_1 METHOD_1 ( final java.lang.String value ) { if ( value . isEmpty ( ) ) { return null ; } final TYPE_2 token = TYPE_2 . get ( value . toUpperCase ( ) ) ; if ( token != null ) { return new TYPE_1 ( token , value ) ; } return new TYPE_1 ( VAR_1 , value ) ; }
