Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Modifiers | Name | Description |
---|---|---|
protected static int[] |
stdCompareCodes |
Constructor and description |
---|
BinaryExpressionWriter
(WriterController controller) |
Type | Name and description |
---|---|
boolean |
arrayGet(int operation, boolean simulate) |
boolean |
arraySet(boolean simulate) |
protected void |
doubleTwoOperands(org.objectweb.asm.MethodVisitor mv) |
protected MethodCaller |
getArrayGetCaller() |
protected ClassNode |
getArrayGetResultType() |
protected MethodCaller |
getArraySetCaller() |
protected int |
getBitwiseOperationBytecode(int type) |
protected int |
getCompareCode() |
protected ClassNode |
getDevisionOpResultType() |
protected ClassNode |
getNormalOpResultType() |
protected int |
getShiftOperationBytecode(int type) |
protected int |
getStandardOperationBytecode(int type) |
protected void |
removeTwoOperands(org.objectweb.asm.MethodVisitor mv) |
protected boolean |
supportsDivision() |
boolean |
write(int operation, boolean simulate) |
protected boolean |
writeBitwiseOp(int type, boolean simulate) writes some the bitwise operations. type is one of BITWISE_OR, BITWISE_AND, BIWISE_XOR |
protected boolean |
writeDivision(boolean simulate) |
protected void |
writeMinusMinus(org.objectweb.asm.MethodVisitor mv) |
protected void |
writePlusPlus(org.objectweb.asm.MethodVisitor mv) |
boolean |
writePostOrPrefixMethod(int operation, boolean simulate) |
protected boolean |
writeShiftOp(int type, boolean simulate) Write shifting operations. |
protected boolean |
writeSpaceship(int type, boolean simulate) |
protected boolean |
writeStdCompare(int type, boolean simulate) writes some int standard operations. type is one of IADD, ISUB, IMUL, IDIV or IREM |
protected boolean |
writeStdOperators(int type, boolean simulate) |
writes some the bitwise operations. type is one of BITWISE_OR, BITWISE_AND, BIWISE_XOR
type
- the token typeWrite shifting operations. Type is one of LEFT_SHIFT, RIGHT_SHIFT, or RIGHT_SHIFT_UNSIGNED
type
- the token typewrites some int standard operations. type is one of IADD, ISUB, IMUL, IDIV or IREM
type
- the token typeCopyright © 2003-2015 The Apache Software Foundation. All rights reserved.