Examples of typeName()


Examples of com.sun.javadoc.ClassDoc.typeName()

    ClassDoc superCls = clsDoc.superclass();

    while (null != superCls
        && !"java.lang.Object".equals(superCls.qualifiedTypeName())) {
      if ("junit.framework.TestCase".equals(superCls.qualifiedTypeName())
          || "TestCase".equals(superCls.typeName())) {
        return true;
      }

      superCls = superCls.superclass();
    }
View Full Code Here

Examples of com.sun.javadoc.ClassDoc.typeName()

    ClassDoc superCls = clsDoc.superclass();

    while (null != superCls
        && !"java.lang.Object".equals(superCls.qualifiedTypeName())) {
      if ("junit.framework.TestCase".equals(superCls.qualifiedTypeName())
          || "TestCase".equals(superCls.typeName())) {
        return true;
      }

      superCls = superCls.superclass();
    }
View Full Code Here

Examples of com.sun.javadoc.Parameter.typeName()

        Parameter[] params = method.parameters();
        for (int k = 0; k < params.length; k++) {
          Parameter param = params[k];
          Element parameter = document.createElement("parameter");
          parameter.setAttribute("name", param.name());
          parameter.setAttribute("type", param.typeName());
          function.appendChild(parameter);
        }

        String name = method.name();
        String description = method.getRawCommentText();
View Full Code Here

Examples of com.sun.javadoc.Parameter.typeName()

    }
    for (int i = 0; i < p1.length; i++) {
      Parameter pi1 = p1[i];
      Parameter pi2 = p2[i];

      if (!pi1.typeName().equals(pi2.typeName())) {
        return false;
      }
    }
    return true;
  }
View Full Code Here

Examples of com.sun.javadoc.Type.typeName()

  private String getParameterString(Parameter[] ps) {
    String result = "";
    for (int i = 0; i < ps.length; i++) {
      Type type = ps[i].type();
      String ename = type.isPrimitive() ? type.typeName()
          : getExportedName(type.asClassDoc());
      result += "<span class=jsdocParameterType>" + ename
          + "</span> <span class=jsdocParameterName>" + ps[i].name()
          + "</span>";
      if (i < ps.length - 1) {
View Full Code Here

Examples of com.sun.javadoc.Type.typeName()

        for (int i = 0; i < parameters.length; i++) {
            if (i > 0) {
                sig += ", ";
            }
            Type paramType = parameters[i].type();
            sig += paramType.typeName() + paramType.dimension();
        }
        sig += ")";
        return sig;
    }
View Full Code Here

Examples of com.sun.javadoc.Type.typeName()

    if (!owning) {
      Relation inverseRelation = targetJPA.getRelation(mappedBy);
      joinTable = inverseRelation.joinTable;
    }
    if (joinTable == null) {
      table = klass.getName() + "_" + target.typeName();
      property = target.typeName();
    } else {
      table = (String) Utils.getAnnotationValue(joinTable, "name");
      AnnotationValue[] joinColumns = (AnnotationValue[]) Utils
          .getAnnotationValue(joinTable, owning ? "joinColumns" : "inverseJoinColumns");
View Full Code Here

Examples of com.sun.javadoc.Type.typeName()

      Relation inverseRelation = targetJPA.getRelation(mappedBy);
      joinTable = inverseRelation.joinTable;
    }
    if (joinTable == null) {
      table = klass.getName() + "_" + target.typeName();
      property = target.typeName();
    } else {
      table = (String) Utils.getAnnotationValue(joinTable, "name");
      AnnotationValue[] joinColumns = (AnnotationValue[]) Utils
          .getAnnotationValue(joinTable, owning ? "joinColumns" : "inverseJoinColumns");
      AnnotationDesc joinColumn = (AnnotationDesc) joinColumns[0].value();
View Full Code Here

Examples of ma.glasnost.orika.impl.generator.VariableRef.typeName()

        final VariableRef arrayVar = destination.elementRef(destination.name());
        String newArray = format("%s[] %s = new %s[%s]", destination.elementTypeName(), destination.name(), destination.elementTypeName(), source.size());
       
        String mapArray;
        if (destination.elementType().isPrimitive()) {
            mapArray = format("mapArray(%s, asList(%s), %s.class, mappingContext)", arrayVar, source, arrayVar.typeName());
        } else {
            mapArray = format("mapperFacade.mapAsArray(%s, asList(%s), %s, %s, mappingContext)", destination.name(), source, code.usedType(source.elementType()),
                    code.usedType(destination.elementType()));
        }
        String mapNull = shouldMapNulls(fieldMap, code) ? format(" else { %s; }", destination.assignIfPossible("null")) : "";
View Full Code Here

Examples of org.gridgain.grid.spi.indexing.GridIndexingFieldMetadata.typeName()

                        VisorFieldsQueryColumn[] names = new VisorFieldsQueryColumn[meta.size()];

                        for (int i = 0; i < meta.size(); i++) {
                            GridIndexingFieldMetadata col = meta.get(i);

                            names[i] = new VisorFieldsQueryColumn(col.typeName(), col.fieldName());
                        }

                        long start = U.currentTimeMillis();

                        GridBiTuple<List<Object[]>, List<?>> rows = fetchSqlQueryRows(fut, firstRow, arg.pageSize());
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.