In one of my project i need to call methods dynamicly depending upon the regular expression a string. in one of my case i have this string.
And(Answered(ARef(16350,100772,null)),Not(AnyOf(ARef(16350,100772,null),[Closed temporarily])),Not(AnyOf(ARef(16350,100772,null),[Closed down])))
which will like this if arrange it to understand .
  And(
            Answered(
                    ARef(
                    16350,
                    100772,
                    null)
                    ),
                    Not(
                        AnyOf(
                            ARef(
                                16350,
                                100772,
                                null),              
                            [Closed temporarily]
                            )
                       ),
                    Not(
                       AnyOf(
                            ARef(
                                16350,
                                100772,
                                null),
                        [Closed down]
                            )
                      )
        )
is there any way to call methods which are started by methodname and ( "Open bracket" parameters and ) "closing brackits"
in above case the And is a method which take parameters from the answered method. and so on....
Please suggest me to find a way to do this.