Parse the class name out of a function specification string. @return name of the class.
(String funcSpec)
| 106 | * @return name of the class. |
| 107 | */ |
| 108 | public static String getClassNameFromSpec(String funcSpec){ |
| 109 | int paren = funcSpec.indexOf('('); |
| 110 | if (paren!=-1) |
| 111 | return funcSpec.substring(0, paren); |
| 112 | else |
| 113 | return funcSpec; |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Get the argument values passed to the func spec. |
no outgoing calls
no test coverage detected