public void METHOD_1 ( java.lang.String VAR_1 , java.lang.String text ) { if ( VAR_1 . equals ( STRING_1 ) ) TYPE_1 . METHOD_2 ( text ) ; else if ( VAR_1 . equals ( STRING_2 ) ) TYPE_2 . METHOD_2 ( text ) ; else if ( VAR_1 . equals ( STRING_3 ) ) TYPE_3 . METHOD_2 ( text ) ; else if ( VAR_1 . equals ( STRING_4 ) ) TYPE_4 . METHOD_2 ( text ) ; else if ( VAR_1 . equals ( STRING_5 ) ) TYPE_5 . METHOD_2 ( text ) ; }

public void METHOD_1 ( java.lang.String VAR_1 , java.lang.String text ) { switch ( VAR_1 ) { case STRING_1 : TYPE_1 . METHOD_2 ( text ) ; case STRING_2 : TYPE_2 . METHOD_2 ( text ) ; case STRING_3 : TYPE_3 . METHOD_2 ( text ) ; case STRING_4 : TYPE_4 . METHOD_2 ( text ) ; case STRING_5 : TYPE_5 . METHOD_2 ( text ) ; } }
