Examples of callMethod()


Examples of com.caucho.quercus.env.QuercusClass.callMethod()

    env.pushCall(this, qThis, values);

    try {
      env.checkTimeout();

      return cl.callMethod(env, qThis, _name, _name.hashCode(), values);
    } finally {
      env.popCall();
    }
  }
 
View Full Code Here

Examples of com.caucho.quercus.env.Value.callMethod()

    env.pushCall(this, obj, args);

    try {
      env.checkTimeout();

      return obj.callMethod(env, _hash, _name, _name.length, args);
    } finally {
      env.popCall();
    }
  }
View Full Code Here

Examples of com.caucho.quercus.function.AbstractFunction.callMethod()

                                       Value []args)
  {
    if (obj.isObject()) {
      AbstractFunction fun = obj.findFunction(name);
     
      return fun.callMethod(env, obj, args).copyReturn();
    }
    else {
      QuercusClass cls = env.findClass(obj.toString());
     
      AbstractFunction fun = cls.findFunction(name);
View Full Code Here

Examples of com.google.protobuf.Service.callMethod()

    Message request = service.getRequestPrototype(methodDesc).newBuilderForType()
        .mergeFrom(call.getRequest()).build();
    final Message.Builder responseBuilder =
        service.getResponsePrototype(methodDesc).newBuilderForType();
    service.callMethod(methodDesc, controller, request, new RpcCallback<Message>() {
      @Override
      public void run(Message message) {
        if (message != null) {
          responseBuilder.mergeFrom(message);
        }
View Full Code Here

Examples of net.sf.lapg.templates.api.INavigationStrategy.callMethod()

  }

  @SuppressWarnings("unchecked")
  public Object callMethod(Object obj, String methodName, Object[] args) throws EvaluationException {
    INavigationStrategy strategy = navigationFactory.getStrategy(obj);
    return strategy.callMethod(obj, methodName, args);
  }

  @SuppressWarnings("unchecked")
  public Object getByIndex(Object obj, Object index) throws EvaluationException {
    INavigationStrategy strategy = navigationFactory.getStrategy(obj);
View Full Code Here

Examples of net.sourceforge.squirrel_sql.plugins.hibernate.server.ReflectionCaller.callMethod()

   }

   private boolean isPersistentCollectionIsInitialize(Object persistentCollection)
   {
      ReflectionCaller rc = new ReflectionCaller(persistentCollection);
      return (Boolean)rc.callMethod("wasInitialized").getCallee();
   }

   @Override
   public ArrayList<SingleResult> getResults()
   {
View Full Code Here

Examples of org.apache.derby.iapi.services.compiler.MethodBuilder.callMethod()

        cb.getField(field); // instance
        cb.push(index + 1); // first arg;

        rc.generateExpression(acb, cb);
        cb.cast(ClassName.DataValueDescriptor); // second arg
        cb.callMethod(VMOpcode.INVOKEINTERFACE, ClassName.Row, "setColumn", "void", 2);
        continue;
      }

      userExprFun.getField(field); // instance
      userExprFun.push(index + 1); // arg1
View Full Code Here

Examples of org.jpox.store.mapped.expression.ScalarExpression.callMethod()

                    {
                        throw new QueryCompilerSyntaxException("')' expected", p.getIndex(), p.getInput());
                    }
                }
   
                return expr.callMethod(methodName, args);
            }
        }
        return null;
    }
View Full Code Here

Examples of org.jruby.RubyArray.callMethod()

                if (res == null) {
                    p--;
                    { p += 1; _goto_targ = 5; if (truecontinue _goto;}
                } else {
                    if (!parser.arrayClass.getName().equals("Array")) {
                        result.callMethod(context, "<<", res.result);
                    } else {
                        result.append(res.result);
                    }
                    {p = (( res.p))-1;}
                }
View Full Code Here

Examples of org.jruby.RubyBasicObject.callMethod()

       
        DynamicMethod method = object.getMetaClass().searchMethod(methodName);
       
        if (method.isUndefined()) {
            // catch respond_to? and respond_to_missing? cases
            if (object.callMethod(context, "respond_to?", arg0).isTrue()) {
                return object.callMethod(context, methodName, IRubyObject.NULL_ARRAY, block);
            }
            RubyKernel.methodMissing(context, self, methodName, Visibility.PUBLIC, CallType.FUNCTIONAL, IRubyObject.NULL_ARRAY, block);
        } else if (method.getVisibility().isPrivate()) {
            RubyKernel.methodMissing(context, self, methodName, Visibility.PRIVATE, CallType.FUNCTIONAL, IRubyObject.NULL_ARRAY, block);
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.