public Closure(UDFProperties properties) {
super(properties);
PageContext pc = ThreadLocalPageContext.get();
if(pc.undefinedScope().getCheckArguments())
this.variables=new ClosureScope(pc,pc.argumentsScope(),pc.localScope(),pc.variablesScope());
else{
this.variables=pc.variablesScope();
variables.setBind(true);
}
}