if(element instanceof funcDecl){
//funcDecl e = ;
IFunctionDefinition f = ((funcDecl) element).getBase();
builder = new StringBuilder(f.getName().getFunctionName());
formalParamListImpl params = (formalParamListImpl) f.getParams();
if(params != null){
EList<String> list = params.getParams();
Iterator<String> it = list.iterator();
builder.append("(");
while(it.hasNext()){
builder.append(it.next());
if(it.hasNext())
builder.append(",");
}
builder.append(")");
}
return builder.toString();
}
if(element instanceof function){
IFunctionDefinition f = ((function) element).getDeclaration();
builder = new StringBuilder(f.getName().getFunctionName());
formalParamListImpl params = (formalParamListImpl) f.getParams();
if(params != null){
EList<String> list = params.getParams();
Iterator<String> it = list.iterator();
builder.append("(");
while(it.hasNext()){
builder.append(it.next());
if(it.hasNext())
builder.append(",");
}
builder.append(")");
}
return builder.toString();
}
if(element instanceof classMethodDeclImpl){
classMethodDeclImpl e = ((classMethodDeclImpl)element);
builder = new StringBuilder(e.getName().getFunctionName());
formalParamListImpl params = (formalParamListImpl) e.getParams();
if(params != null){
EList<String> list = params.getParams();
Iterator<String> it = list.iterator();
builder.append("(");
while(it.hasNext()){
builder.append(it.next());
if(it.hasNext())