Package org.objectweb.asm.commons

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


  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile_context();
    compile_environment();
    mv.visitMethodInsn( Opcodes.INVOKEVIRTUAL, "org/formulacompiler/runtime/internal/Environment", "timeZone", "()Ljava/util/TimeZone;" );
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "msSinceUTC1970FromNum", "(JLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;Ljava/util/TimeZone;Lorg/formulacompiler/runtime/ComputationMode;)J" );
  }

  protected final void compile_util_toMs() throws CompilerException
View Full Code Here


    final int loc = localsOffset();
    compile_context();
    compile_environment();
    mv.visitMethodInsn( Opcodes.INVOKEVIRTUAL, "org/formulacompiler/runtime/internal/Environment", "timeZone", "()Ljava/util/TimeZone;" );
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "msSinceUTC1970FromNum", "(JLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;Ljava/util/TimeZone;Lorg/formulacompiler/runtime/ComputationMode;)J" );
  }

  protected final void compile_util_toMs() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

  protected final void compile_util_toMs() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile_context();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "msFromNum", "(JLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;)J" );
  }

  protected final void compile_util_toString() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile_context();
    compile_environment();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "toExcelString", "(JLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;Lorg/formulacompiler/runtime/internal/Environment;)Ljava/lang/String;" );
  }

  protected final void compile_util_toNumber() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

  protected final void compile_util_toNumber() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "java/lang/Long", "valueOf", "(J)Ljava/lang/Long;" );
  }

  protected final void compile_util_toNumber_Scaled() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

  protected final void compile_util_toNumber_Scaled() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile_context();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "toBigDecimal", "(JLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;)Ljava/math/BigDecimal;" );
  }

  private final void compile_op_PLUS( ExpressionNode _b ) throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile( _b );
    compile_context();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "fun_POWER", "(JJLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;)J" );
  }

  private final void compile_op_PERCENT() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

  private final void compile_op_INTERNAL_MIN( ExpressionNode _b ) throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile( _b );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "min", "(JJ)J" );
  }

  private final void compile_op_INTERNAL_MAX( ExpressionNode _b ) throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

  private final void compile_op_INTERNAL_MAX( ExpressionNode _b ) throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile( _b );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "max", "(JJ)J" );
  }

  private final void compile_fun_ABS( ExpressionNode _a ) throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

    compile( _a );
    mv.visitMethodInsn( Opcodes.INVOKEVIRTUAL, "org/formulacompiler/runtime/internal/RuntimeLong_v2$Context", "toBigDecimal", "(J)Ljava/math/BigDecimal;" );
    mv.visitVarInsn( Opcodes.ASTORE, 0 + loc );
    compile_context();
    compile( _b );
    mv.visitMethodInsn( Opcodes.INVOKEVIRTUAL, "org/formulacompiler/runtime/internal/RuntimeLong_v2$Context", "toBigDecimal", "(J)Ljava/math/BigDecimal;" );
    mv.visitVarInsn( Opcodes.ASTORE, 1 + loc );
    compile_context();
    compile( _c );
    mv.visitMethodInsn( Opcodes.INVOKEVIRTUAL, "org/formulacompiler/runtime/internal/RuntimeLong_v2$Context", "toBigDecimal", "(J)Ljava/math/BigDecimal;" );
    mv.visitVarInsn( Opcodes.ASTORE, 2 + 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.