Examples of arguments()


Examples of org.eclipse.jdt.core.dom.MethodInvocation.arguments()

            // Add a call to the static commit method of FieldRecord.
            MethodInvocation commitFields = ast.newMethodInvocation();
            commitFields.setExpression(createName(ast, getClassName(
                    FieldRecord.class.getName(), state, root)));
            commitFields.setName(ast.newSimpleName("commit"));
            commitFields.arguments().add(ast.newSimpleName(RECORDS_NAME));
            commitFields.arguments().add(ast.newSimpleName("timestamp"));

            MethodInvocation topTimestamp = ast.newMethodInvocation();
            topTimestamp.setExpression(ast
                    .newSimpleName(CHECKPOINT_RECORD_NAME));
View Full Code Here

Examples of org.eclipse.jdt.core.dom.MethodInvocation.arguments()

            MethodInvocation commitFields = ast.newMethodInvocation();
            commitFields.setExpression(createName(ast, getClassName(
                    FieldRecord.class.getName(), state, root)));
            commitFields.setName(ast.newSimpleName("commit"));
            commitFields.arguments().add(ast.newSimpleName(RECORDS_NAME));
            commitFields.arguments().add(ast.newSimpleName("timestamp"));

            MethodInvocation topTimestamp = ast.newMethodInvocation();
            topTimestamp.setExpression(ast
                    .newSimpleName(CHECKPOINT_RECORD_NAME));
            topTimestamp.setName(ast.newSimpleName("getTopTimestamp"));
View Full Code Here

Examples of org.eclipse.jdt.core.dom.SuperConstructorInvocation.arguments()

    }

    case ASTNode.SUPER_CONSTRUCTOR_INVOCATION: {
      final SuperConstructorInvocation ctorCall = (SuperConstructorInvocation) node;
      // if coming up from a argument.
      if (containedIn(ctorCall.arguments(), this.name))
        // if we don't have the source, no can do.
        if (!ctorCall.resolveConstructorBinding().getDeclaringClass()
            .isFromSource())
          throw new DefinitelyNotEnumerizableException(
              Messages.ASTNodeProcessor_SourceNotPresent, node);
View Full Code Here

Examples of org.eclipse.jdt.core.dom.SuperMethodInvocation.arguments()

            // Add a call to the commit method in the superclass, if necessary.
            SuperMethodInvocation superRestore = ast.newSuperMethodInvocation();
            superRestore
                    .setName(ast.newSimpleName(_getCommitMethodName(false)));
            superRestore.arguments().add(ast.newSimpleName("timestamp"));

            if ((parent != null)
                    && (state.getCrossAnalyzedTypes()
                            .contains(parent.getName()) || hasMethod(parent,
                            methodName,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.Invocation.arguments()

      Invocation invocation = (Invocation) expri;
      MethodBinding innerMethod = invocation.binding(null, false, null);
      if (innerMethod instanceof ParameterizedGenericMethodBinding) {
        InferenceContext18 innerCtx = invocation.getInferenceContext((ParameterizedMethodBinding) innerMethod);
        if (innerCtx != null) { // otherwise innerMethod does not participate in inference
          return addConstraintsToC(invocation.arguments(), c, innerMethod.genericMethod(), innerCtx.inferenceKind);
        }
      }
    } else if (expri instanceof ConditionalExpression) {
      ConditionalExpression ce = (ConditionalExpression) expri;
      return addConstraintsToC_OneExpr(ce.valueIfTrue, c, fsi, substF, method)
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.LambdaExpression.arguments()

        }
      } else {
        LambdaExpression lambda = methodBinding.sourceLambda();
        if (lambda != null) {
          if ((methodBinding.tagBits & TagBits.HasParameterAnnotations) != 0) {
            Argument[] arguments = lambda.arguments();
            if (arguments != null) {
              int parameterCount = methodBinding.parameters.length;
              int argumentCount = arguments.length;
              if (parameterCount > argumentCount) { // synthetics prefixed
                int redShift = parameterCount - argumentCount;
View Full Code Here

Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNode.arguments()

    boolean rewritten = false;
    for (int iArg = 1; iArg <= 2 && iArg < _fun.cardinality(); iArg++) {
      final ExpressionNode arg = _fun.argument( iArg );
      if (arg instanceof ExpressionNodeForFunction && ((ExpressionNodeForFunction) arg).getFunction() == MATCH) {
        final ExpressionNode newArg = fun( INTERNAL_MATCH_INT );
        newArg.arguments().addAll( arg.arguments() );
        newArgs.set( iArg, newArg );
        rewritten = true;
      }
    }
    if (rewritten) {
View Full Code Here

Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNodeForArrayReference.arguments()

      throw new FormulaException( "#VALUE! because range is empty in MATCH" );
    }
    final ExpressionNodeForArrayReference range = (ExpressionNodeForArrayReference) _in;
    if (0 == _type) {
      int iObj = 0;
      for (Object arg : range.arguments()) {
        final Object elt = ((ExpressionNodeForConstantValue) arg).value();
        if (_lookup.equals( elt )) return iObj;
        iObj++;
      }
      throw new NotAvailableException();
View Full Code Here

Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNodeForOperator.arguments()

          ExpressionNodeForOperator op = (ExpressionNodeForOperator) critExpr;
          switch (op.getOperator()) {
            case CONCAT: {
              final Object cst0 = constantValueOf( op.argument( 0 ) );
              if (cst0 instanceof String) {
                final List<ExpressionNode> args = op.arguments();
                args.remove( 0 );
                return buildFilterByExample( _tableCol, (String) cst0, args, _criterion );
              }
            }
          }
View Full Code Here

Examples of org.omg.CORBA.Request.arguments()

            String _operationNameWithoutTry = (String) i.next();
            Request _request = (Request) _successfulRequests.get(_operationNameWithoutTry);
            String _operationName = getFullQualifiedName(_operationNameWithoutTry);

            Message _mesg = getMessageFactory().newMessage(supportedInterface_, _operationName,
                    _request.arguments(), this);

            checkMessageProperties(_mesg);

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