Package org.objectweb.asm.commons

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


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

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


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

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

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

  private final void compile_fun_HYPGEOMDIST( ExpressionNode _a, ExpressionNode _b, ExpressionNode _c, ExpressionNode _d ) throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

    compile( _a );
    compile( _b );
    compile( _c );
    compile( _d );
    compile_context();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "fun_HYPGEOMDIST", "(JJJJLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;)J" );
  }

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

    final int loc = localsOffset();
    compile( _a );
    compile( _b );
    compile_context();
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "fun_WEEKDAY", "(JJLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;Lorg/formulacompiler/runtime/ComputationMode;)J" );
  }

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

  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile( _a );
    compile_context();
    mv.visitMethodInsn( Opcodes.INVOKEVIRTUAL, "org/formulacompiler/runtime/internal/RuntimeLong_v2$Context", "one", "()J" );
    compile_context();
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "fun_WEEKDAY", "(JJLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;Lorg/formulacompiler/runtime/ComputationMode;)J" );
  }
View Full Code Here

    compile( _a );
    compile_context();
    mv.visitMethodInsn( Opcodes.INVOKEVIRTUAL, "org/formulacompiler/runtime/internal/RuntimeLong_v2$Context", "one", "()J" );
    compile_context();
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "fun_WEEKDAY", "(JJLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;Lorg/formulacompiler/runtime/ComputationMode;)J" );
  }

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

    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile( _a );
    compile_context();
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "fun_DAY", "(JLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;Lorg/formulacompiler/runtime/ComputationMode;)J" );
  }

  private final void compile_fun_DAYS360( ExpressionNode _a, ExpressionNode _b, ExpressionNode _c ) 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.INVOKEVIRTUAL, "org/formulacompiler/runtime/internal/Environment", "timeZone", "()Ljava/util/TimeZone;" );
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "dateToNum", "(Ljava/util/Date;Lorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;Ljava/util/TimeZone;Lorg/formulacompiler/runtime/ComputationMode;)J" );
  }

  protected final void compile_util_fromMsSinceUTC1970() 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", "dateToNum", "(Ljava/util/Date;Lorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;Ljava/util/TimeZone;Lorg/formulacompiler/runtime/ComputationMode;)J" );
  }

  protected final void compile_util_fromMsSinceUTC1970() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
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.