Package org.aspectj.apache.bcel.generic

Examples of org.aspectj.apache.bcel.generic.InstructionShort


      break;
    default:
      if (value <= Byte.MAX_VALUE && value >= Byte.MIN_VALUE) {
        inst = new InstructionByte(Constants.BIPUSH, (byte) value);
      } else if (value <= Short.MAX_VALUE && value >= Short.MIN_VALUE) {
        inst = new InstructionShort(Constants.SIPUSH, (short) value);
      } else {
        int ii = fact.getClassGen().getConstantPool().addInteger(value);
        inst = new InstructionCP(value <= Constants.MAX_BYTE ? Constants.LDC : Constants.LDC_W, ii);
      }
      break;
View Full Code Here


      break;
    default:
      if (value <= Byte.MAX_VALUE && value >= Byte.MIN_VALUE) {
        inst = new InstructionByte(Constants.BIPUSH, (byte) value);
      } else if (value <= Short.MAX_VALUE && value >= Short.MIN_VALUE) {
        inst = new InstructionShort(Constants.SIPUSH, (short) value);
      } else {
        int ii = fact.getClassGen().getConstantPool().addInteger(value);
        inst = new InstructionCP(value <= Constants.MAX_BYTE ? Constants.LDC : Constants.LDC_W, ii);
      }
      break;
View Full Code Here

TOP

Related Classes of org.aspectj.apache.bcel.generic.InstructionShort

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.