protected boolean writeShiftOp ( int type , boolean simulate ) { type = type - LEFT_SHIFT ; if ( type < 0 || type > 2 ) return false ; if ( ! simulate ) { int bytecode = getShiftOperationBytecode ( type ) ; controller . getMethodVisitor ( ) . visitInsn ( bytecode ) ; controller . getOperandStack ( ) . replace ( getNormalOpResultType ( ) , 2 ) ; } return true ; }
Write shifting operations . Type is one of LEFT_SHIFT RIGHT_SHIFT or RIGHT_SHIFT_UNSIGNED