}
if(dim[i].endsWith(")")){
// method
String[] methodInfo = dim[i].split("\\(");
if(methodInfo.length > 0){
TemplateObjectMethod method = obj.getMethod(methodInfo[0]);
if(method != null){
obj = method.toTemplateObject();
continue;
}
}
} else {
// property