JFieldDeclaration[] fields=new JFieldDeclaration[array.length+1];
JFieldDeclaration[] fields=new JFieldDeclaration[array.length+1+superVarDecls.length];  System.arraycopy(superVarDecls,0,fields,array.length+1,superVarDecls.length);
    public JFieldDeclaration[] getVarDecls() {	FilterContent filter = filterInfo.filter;	JFieldDeclaration[] fields=new JFieldDeclaration[array.length+1/*3 + filter.getFields().length*/];		for(int i=0;i<array.length;i++)	    try {		fields[i]=new JFieldDeclaration(null,new JVariableDefinition(null,0,CStdType.Float,getWeight(i),new JFloatLiteral(null,Float.toString((float)array[i]))),null,null);	    } catch(PositionedError e) {		Utils.fail("Couldn't convert weight "+i+": "+array[i]);	    }	try {	    fields[array.length]=new JFieldDeclaration(null,new JVariableDefinition(null,0,CStdType.Float,getConstant(),new JFloatLiteral(null,Float.toString((float)constant))),null,null);	} catch(PositionedError e) {	    Utils.fail("Couldn't convert constant: "+constant);	}	/*	  //Adapted from Gordo's Code	  //index variable for certain for loops	  JVariableDefinition exeIndexVar = 	  new JVariableDefinition(null, 	  0, 	  CStdType.Integer,	  exeIndex + uniqueID,	  null);	  	  //remember the JVarDef for latter (in the raw main function)	  generatedVariables.exeIndex = exeIndexVar;	  fields[array.length+1]=new JFieldDeclaration(null, exeIndexVar, null, null);	  	  //index variable for certain for loops	  JVariableDefinition exeIndex1Var = 	  new JVariableDefinition(null, 	  0, 	  CStdType.Integer,	  exeIndex1 + uniqueID,	  null);	  	  generatedVariables.exeIndex1 = exeIndex1Var;	  fields[array.length+2]=new JFieldDeclaration(null, exeIndex1Var, null, null);	  	  //add the fields of the non-linear filter, because we call the non-linear work function in the	  //init and primepump stage	  for (int i = 0; i < filter.getFields().length; i++) 	  fields[i + array.length + 3] = filter.getFields()[i];	  	  //convert the communication	  //all the communication is in the work function	  //filter.getWork().accept(new DirectConvertCommunication());	  //End Gordo's Code.	*/	return fields;    }