Package org.objectweb.asm.commons

Examples of org.objectweb.asm.commons.GeneratorAdapter.visitFieldInsn()


    final int loc = localsOffset();
    compile( _a );
    compile( _b );
    compile( _c );
    compile( _d );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "TWELVE", "Ljava/math/BigDecimal;" );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_DB", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }
View Full Code Here


    compile( _a );
    compile( _b );
    compile( _c );
    compile( _d );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "TWELVE", "Ljava/math/BigDecimal;" );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_DB", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }

  private final void compile_fun_DDB( ExpressionNode _a, ExpressionNode _b, ExpressionNode _c, ExpressionNode _d, ExpressionNode _e ) throws CompilerException
View Full Code Here

    compile( _a );
    compile( _b );
    compile( _c );
    compile( _d );
    compile( _e );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_DDB", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }

  private final void compile_fun_DDB( ExpressionNode _a, ExpressionNode _b, ExpressionNode _c, ExpressionNode _d ) throws CompilerException
View Full Code Here

    final int loc = localsOffset();
    compile( _a );
    compile( _b );
    compile( _c );
    compile( _d );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "TWO", "Ljava/math/BigDecimal;" );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_DDB", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }
View Full Code Here

    compile( _a );
    compile( _b );
    compile( _c );
    compile( _d );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "TWO", "Ljava/math/BigDecimal;" );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_DDB", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }

  private final void compile_fun_VDB( ExpressionNode _a, ExpressionNode _b, ExpressionNode _c, ExpressionNode _d, ExpressionNode _e, ExpressionNode _f, ExpressionNode _g ) throws CompilerException
View Full Code Here

    compile( _c );
    compile( _d );
    compile( _e );
    compile( _f );
    mv.visitVarInsn( Opcodes.ILOAD, 0 + loc );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_VDB", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;ZLjava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }

  private final void compile_fun_RATE( ExpressionNode _a, ExpressionNode _b, ExpressionNode _c, ExpressionNode _d, ExpressionNode _e, ExpressionNode _f ) throws CompilerException
View Full Code Here

    compile( _b );
    compile( _c );
    compile( _d );
    compile( _e );
    compile( _f );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_RATE", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }

  private final void compile_fun_RATE( ExpressionNode _a, ExpressionNode _b, ExpressionNode _c, ExpressionNode _d, ExpressionNode _e ) throws CompilerException
View Full Code Here

    compile( _a );
    compile( _b );
    compile( _c );
    compile( _d );
    compile( _e );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "TENTH", "Ljava/math/BigDecimal;" );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_RATE", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }
View Full Code Here

    compile( _b );
    compile( _c );
    compile( _d );
    compile( _e );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "TENTH", "Ljava/math/BigDecimal;" );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_RATE", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }

  private final void compile_fun_RATE( ExpressionNode _a, ExpressionNode _b, ExpressionNode _c, ExpressionNode _d ) throws CompilerException
View Full Code Here

    final int loc = localsOffset();
    compile( _a );
    compile( _b );
    compile( _c );
    compile( _d );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "ZERO", "Ljava/math/BigDecimal;" );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "TENTH", "Ljava/math/BigDecimal;" );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "fun_RATE", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.