LocalVariable[] iterables= jc.getLocalVariables(fType); String[] names= new String[iterables.length]; for (int i= 0; i < iterables.length; i++) names[i]= iterables[i].getName();
Variable[] localVariables= jc.getLocalVariables(fType); Variable[] fields= jc.getFields(fType); Variable[] variables= new Variable[localVariables.length + fields.length]; System.arraycopy(fields, 0, variables, 0, fields.length); System.arraycopy(localVariables, 0, variables, fields.length, localVariables.length);  String[] names= new String[variables.length]; for (int i= 0; i < variables.length; i++) names[i]= variables[i].getName();
	protected String[] resolveAll(TemplateContext context) {        JavaContext jc= (JavaContext) context;        LocalVariable[] iterables= jc.getLocalVariables(fType);        String[] names= new String[iterables.length];        for (int i= 0; i < iterables.length; i++)			names[i]= iterables[i].getName();        if (names.length > 0)        	jc.markAsUsed(names[0]);		return names;	}