panda.el.opt.object.MethodOpt Maven / Gradle / Ivy
package panda.el.opt.object;
import java.util.ArrayList;
import java.util.List;
import java.util.Queue;
import panda.el.ELContext;
import panda.el.ELException;
import panda.el.obj.ELObj;
import panda.el.opt.RunMethod;
import panda.el.opt.AbstractTwoOpt;
import panda.el.opt.Operator;
/**
* 方法体封装. 主要是把方法的左括号做为边界
*/
public class MethodOpt extends AbstractTwoOpt {
private int size = 0;
public void setSize(int size) {
this.size = size;
}
public int getSize() {
return size;
}
public int getPriority() {
return 1;
}
public void wrap(Queue