Package org.aspectj.apache.bcel.generic

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


    case 5:
      inst = InstructionConstants.ICONST_5;
      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);
View Full Code Here


    case 5:
      inst = InstructionConstants.ICONST_5;
      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);
View Full Code Here

TOP

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

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.