Package org.objectweb.asm.commons

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


    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


    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();
  }

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

    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile( _a );
    compile( _b );
    compile( _c );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "ZERO", "Ljava/math/BigDecimal;" );
    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

    final int loc = localsOffset();
    compile( _a );
    compile( _b );
    compile( _c );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "ZERO", "Ljava/math/BigDecimal;" );
    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

    compile( _a );
    compile( _b );
    compile( _c );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "ZERO", "Ljava/math/BigDecimal;" );
    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

    compile( _b );
    compile( _c );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "ZERO", "Ljava/math/BigDecimal;" );
    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();
  }

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

    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile( _a );
    compile( _b );
    compile( _c );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "fun_TIME", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }

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

    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile( _a );
    compile( _b );
    compile( _c );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "org/formulacompiler/runtime/internal/RuntimeScaledBigDecimal_v2", "HIGHPREC", "Ljava/math/MathContext;" );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "fun_TIME_OOo", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }

  protected final void compile_util_round( int _b ) throws CompilerException
View Full Code Here

    Label l_0 = new Label();
    Label l_1 = new Label();
    mv.visitInsn( Opcodes.DUP );
    mv.visitVarInsn( Opcodes.ASTORE, 0 + loc );
    mv.visitJumpInsn( Opcodes.IFNONNULL, l_0 );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "java/math/BigDecimal", "ZERO", "Ljava/math/BigDecimal;" );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitTypeInsn( Opcodes.NEW, "java/math/BigDecimal" );
    mv.visitInsn( Opcodes.DUP );
    mv.visitVarInsn( Opcodes.ALOAD, 0 + loc );
View Full Code Here

    Label l_0 = new Label();
    Label l_1 = new Label();
    mv.visitInsn( Opcodes.DUP );
    mv.visitVarInsn( Opcodes.ASTORE, 0 + loc );
    mv.visitJumpInsn( Opcodes.IFNONNULL, l_0 );
    mv.visitFieldInsn( Opcodes.GETSTATIC, "java/math/BigDecimal", "ZERO", "Ljava/math/BigDecimal;" );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitTypeInsn( Opcodes.NEW, "java/math/BigDecimal" );
    mv.visitInsn( Opcodes.DUP );
    mv.visitVarInsn( Opcodes.ALOAD, 0 + loc );
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.