Untitled
public text v1 · immutableif (s.contains("#")){
try{
String varString = s.substring((s.indexOf("#"))+1, s.indexOf(" ", (s.indexOf("#"))+1));
Class clazz = this.getClass();
Method theMethod = clazz.getDeclaredMethod(varString, clazz);
printTo("Cmd Method: "+theMethod.getName());
//theMethod.invoke();
}catch (Throwable e) {
System.err.println(e);
printTo("Cmd UH OH");
}
}