Package org.apache.bcel.generic

Examples of org.apache.bcel.generic.L2I


      _value.translate(classGen, methodGen);

      // Round the number to the nearest integer
      index = cpg.addMethodref(MATH_CLASS, "round", "(D)J");
      il.append(new INVOKESTATIC(index));
      il.append(new L2I());

      // Call setValue on the node counter
      index = cpg.addMethodref(NODE_COUNTER,
             "setValue",
             "(I)" + NODE_COUNTER_SIG);
View Full Code Here


      _value.translate(classGen, methodGen);

      // Round the number to the nearest integer
      index = cpg.addMethodref(MATH_CLASS, "round", "(D)J");
      il.append(new INVOKESTATIC(index));
      il.append(new L2I());

      // Call setValue on the node counter
      index = cpg.addMethodref(NODE_COUNTER,
             "setValue",
             "(I)" + NODE_COUNTER_SIG);
View Full Code Here

  @SuppressWarnings("unused")
  // Called using reflection
  private Instruction createInstructionL2i(Element inst)
  {
    return new L2I();
  }
View Full Code Here

TOP

Related Classes of org.apache.bcel.generic.L2I

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.