switch (frameType) {
case F_SAME:
currentOperandStack = AbstractOperandStack.EMPTY_STACK;
break;
case F_SAME1:
currentOperandStack = new StaticOperandStack(getTypeFromFrame(stack[0]), AbstractOperandStack.EMPTY_STACK, null);
break;
case F_APPEND:
currentOperandStack = AbstractOperandStack.EMPTY_STACK;
for (int i = 0; i < nLocal; i++) {
currentLocals.add(getTypeFromFrame(local[i]));
}
break;
case F_CHOP:
currentOperandStack = AbstractOperandStack.EMPTY_STACK;
currentLocals = currentLocals.subList(0, currentLocals.size() - nLocal);
break;
case F_FULL:
currentLocals = new ArrayList<String>();
for (int i = 0; i < nLocal; i++) {
currentLocals.add(getTypeFromFrame(local[i]));
}
currentOperandStack = AbstractOperandStack.EMPTY_STACK;
for (int i = 0; i < nStack; i++) {
currentOperandStack = new StaticOperandStack(getTypeFromFrame(stack[i]), currentOperandStack, null);
}
break;
case F_NEW:
break;
}