Examples of Param


Examples of com.litecoding.smali2java.entity.smali.Param

        slice.get(localsCount).type = method.getSmaliClass().getClassName();
        delta = 1;
      }
     
      for(int i = 0; i < params.size() ; i++) {
        Param param = params.get(i);
        if(param.info.is64bit) {
          RegisterInfo info = slice.get(localsCount + delta + i);
          info.is64bit = true;
          info.is64bitMaster = true;
          info.type = param.info.type;
View Full Code Here

Examples of com.mysema.query.types.expr.Param

    }
   
    @SuppressWarnings("unchecked")
    @Test
    public void SetParam() {
        metadata.setParam(new Param(String.class, "str"), ConstantImpl.create("X"));
        assertEquals(1, metadata.getParams().size());
        assertTrue(metadata.getParams().get(new Param(String.class, "str")).equals(ConstantImpl.create("X")));
    }
View Full Code Here

Examples of com.skyline.common.cache.annotation.Param

      return "";
    }
    String key = keyPattern;
    Param[] paramAnnotations = (Param[]) parameterAnnotations.get(Param.class);
    for (int index = 0; index < parameterCount; index++) {
      Param param = paramAnnotations[index];
      if (param == null) {
        continue;
      }
      String value = param.value();
      String replaceToken = new StringBuilder(":").append(value).toString();
      key = key.replace(replaceToken, arguments[index].toString());
    }
    StringBuilder actualKey = new StringBuilder();
    if (isGenericCache) {
View Full Code Here

Examples of com.skyline.energy.annotation.Param

    for (int index = 0; index < annotations.length; index++) {

      for (Annotation annotation : annotations[index]) {
        Class<? extends Annotation> annotationType = annotation.annotationType();
        if (Param.class.equals(annotationType)) {
          Param param = (Param) annotation;
          String value = param.value();
          paramIndexes.put(value, index);
        }
        if (BatchParam.class.equals(annotationType) && batchParamIndexMap != null) {
          BatchParam param = (BatchParam) annotation;
          String value = param.value();
          batchParamIndexMap.put(value, index);
          batchParamIndexes = (Integer[]) ArrayUtils.add(batchParamIndexes, new Integer(index));

          if (paramTypes[index] == null || !paramTypes[index].isArray()) {
            throw new DaoGenerateException("@BatchParam can only on an array");
View Full Code Here

Examples of com.sos.scheduler.model.objects.Param

 
  for (final Entry element : pobjProperties.entrySet()) {
    final Map.Entry<String, String> mapItem =  (Map.Entry<String, String>) element;
    String key = mapItem.getKey().toString();
    strParamValue = mapItem.getValue();
    Param objP = this.createParam(key, strParamValue);
    objParams.getParamOrCopyParamsOrInclude().add(objP);
  }
 
  return objParams;
} // private Params setParams
View Full Code Here

Examples of com.sos.scheduler.model.objects.Param

        strParamValue = "";
      }
      else {
        strParamValue = pstrParamArray[i + 1];
      }
      Param objP = this.createParam(strParamName, strParamValue);
      objParams.getParamOrCopyParamsOrInclude().add(objP);
    }
    return objParams;
  } // private Params setParams
View Full Code Here

Examples of com.sos.scheduler.model.objects.Param

   * @return
   */
  public Param createParam(String pstrParamName, String pstrParamValue) {
    @SuppressWarnings("unused")
    final String conMethodName = conClassName + "::createParam";
    Param objP = super.createParam();
    objP.setName(pstrParamName);
    objP.setValue(pstrParamValue);
    return objP;
  } // private Param createParam
View Full Code Here

Examples of com.sun.enterprise.admin.common.Param

    /**
     */
    public void setException(Throwable t)
    {
        //ArgChecker.check(t); Do we need this check?
        response.addParam(new Param(AdminConstants.EXCEPTION, t));
    }
View Full Code Here

Examples of com.sun.research.wadl.x2006.x10.Param

            JSONArray jsonArray = jsonObject.getJSONArray("params");
            for(int i=0; i<jsonArray.length(); i++) {
                try {
                    String paramName    = jsonArray.getJSONObject(i).getString("name");
                    String paramDefault = jsonArray.getJSONObject(i).getString("default");
                    Param param = request.addNewParam();
                    param.setName(paramName);
                    param.setDefault(paramDefault);
                    param.setStyle(ParamStyle.Enum.forString("query"));
                    param.setType("xs:string");
                } catch (JSONException ex) {
                    Logger.getLogger(WADLGenerator.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        } catch (JSONException ex) {
View Full Code Here

Examples of com.sun.research.ws.wadl.Param

     * @return parameter
     * @see com.sun.jersey.server.wadl.WadlGenerator#createParam(com.sun.jersey.api.model.AbstractResource, com.sun.jersey.api.model.AbstractMethod, com.sun.jersey.api.model.Parameter)
     */
    public Param createParam( AbstractResource ar,
                              AbstractMethod am, Parameter p ) {
        final Param param = _delegate.createParam( ar, am, p );

        // If the paramter is an entity we probably want to convert this to XML
        //
        if (p.getSource() == Parameter.Source.ENTITY) {
            _hasTypeWantsName.add( new Pair(
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.