{
Vector methods = cimClass.getAllMethods();
//get all methods of the class and iterate over them
for(int i=0;i<methods.size();i++)
{
CIMMethod cimMethod= (CIMMethod)methods.get(i);
if(logger.isLoggable(Level.FINE))
logger.fine(Thread.currentThread().getName()+" method : "+cimMethod.getName()+
" Parameter count "+cimMethod.getParameters()+" is of type "+cimMethod.getType());
// //ArrayList argTypeList=new ArrayList ();
List methodArgs=new ArrayList();
SPLSymbolTable methodArgsSymbolTable=new SPLSymbolTable();
Vector parameters = cimMethod.getParameters();
for(int j=0; j<parameters.size(); j++)
{
CIMParameter cimparameter = (CIMParameter)parameters.get(j);
String parameterName=cimparameter.getName();
//boolean isArr=cimparameter.isArray();
int type=CIMSPLTypeConstants.convertCIMTypeToInternalType(cimparameter.getType().getType());
boolean isArray = CIMSPLTypeConstants.getIsArray(cimparameter.getType().getType());
String referenceTypeName="";
if(type == TypeConstants.referenceType)
{
referenceTypeName = CIMSPLTypeConstants.getReferenceTypeName(cimparameter.getName());
}
Argument arg=new ArgumentImpl(type, parameterName, isArray, referenceTypeName);
methodArgsSymbolTable.insertVariableSymbol(parameterName, type, referenceTypeName, isArray, false, false);
//System.out.println(" inserted variable symbol into methodArgsSymbolTable "+parameterName);
methodArgs.add(arg);
}
String methodName=cimMethod.getName();
if( ! symbols.containsKey(methodName))
{
int localReturnType=CIMSPLTypeConstants.convertCIMTypeToInternalType(cimMethod.getType().getType());
Symbol methodSymbol = new MethodSymbol(methodName,localReturnType,
CIMSPLTypeConstants.getIsArray(localReturnType),cimClass.getName(),methodArgs,methodArgsSymbolTable);
//add property to properties list
if(logger.isLoggable(Level.FINE))