Examples of qualifiedTypeName()


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

    }
  }

  private void processSuperClass(ClassDoc classDoc, Collection<String> ignore) {
    Type type = classDoc.superclassType();
    if ((type != null) && !type.qualifiedTypeName().equals(Object.class.getCanonicalName())) {
      cc.catalysts.cdoclet.generator.Type superClass = GeneratorUtils.getType(type, getGenerator(), ignore);

      if (superClass != cc.catalysts.cdoclet.generator.Type.NULL && !ignore.contains(superClass.getName())) {
        getGenerator().setSuperclass(superClass, isException(classDoc));
      }
View Full Code Here

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

  public abstract String getDoc();

  public boolean isWrapped() {
    Type parameterType = getType();
    return !parameterType.isPrimitive() && parameterType.qualifiedTypeName().equals("java.lang.String")
           && Utils.getTag(getParameterDoc(), "inputWrapped") != null;
  }

  public String getWrappedType() {
    if (!isWrapped())
View Full Code Here

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

    setupMIMEs();
    // is this a resource locator?
    if (methods.isEmpty() && !declaringMethod.returnType().isPrimitive()) {
      // Handle Class style resource locator factory methods
      Type t = declaringMethod.returnType();
      if("java.lang.Class".equals(t.qualifiedTypeName())) {
        ParameterizedType p = t.asParameterizedType();
            if (p != null) {
              t = p.typeArguments()[0];
            }
      }
View Full Code Here

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

    return text;
  }

  public String getOutputTypeString() {
    Type returnType = getOutputType();
    return returnType.qualifiedTypeName() + returnType.dimension();
  }

  public String getOutputDoc(int index) {
    if (isOutputWrapped()) {
      String text = returnWrappedTags[index].text();
View Full Code Here

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

    return getJavaType().qualifiedTypeName();
  }

  public boolean isJAXBType() {
    Type type = getJavaType();
    return !type.isPrimitive() && klass.getRegistry().isJAXBClass(type.qualifiedTypeName());
  }

  public String getXSDType() {
    AnnotationDesc xmlSchemaTypeAnnot = Utils.findAnnotation(property, XmlSchemaType.class);
    if (xmlSchemaTypeAnnot != null) {
View Full Code Here

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

  if (type.dimension().endsWith("[]")) {
      return new FieldRelationInfo(type.asClassDoc(), true);
  }
 
  Options opt = optionProvider.getOptionsFor(type.asClassDoc());
  if (opt.matchesCollPackageExpression(type.qualifiedTypeName())) {
      Type[] argTypes = getInterfaceTypeArguments(collectionClassDoc, type);
      if (argTypes != null && argTypes.length == 1) {
    return new FieldRelationInfo(argTypes[0].asClassDoc(), true);
      }
      argTypes = getInterfaceTypeArguments(mapClassDoc, type);
View Full Code Here

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

    {
      final List<String> parameterTypeNames = new ArrayList<String>();
      for (Parameter param: method.parameters())
      {
        Type type = param.type();
        parameterTypeNames.add(type.qualifiedTypeName() + type.dimension());
      }

      return new MethodIdentity(method.qualifiedName(), parameterTypeNames);
    }
View Full Code Here

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

  if (type.dimension().endsWith("[]")) {
      return new FieldRelationInfo(type.asClassDoc(), true);
  }
 
  Options opt = optionProvider.getOptionsFor(type.asClassDoc());
  if (opt.matchesCollPackageExpression(type.qualifiedTypeName())) {
      Type[] argTypes = getInterfaceTypeArguments(collectionClassDoc, type);
      if (argTypes != null && argTypes.length == 1 && !argTypes[0].isPrimitive())
    return new FieldRelationInfo(argTypes[0].asClassDoc(), true);

      argTypes = getInterfaceTypeArguments(mapClassDoc, type);
View Full Code Here

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

      if (boundType != null) {
        cc.catalysts.cdoclet.generator.Type bound = getType(boundType, generator, ignore, visited);

        if (bound != cc.catalysts.cdoclet.generator.Type.NULL) {
          logger.debug("Adding boundary {} extends {} <{}>", new Object[]{argument.qualifiedTypeName(), boundType.qualifiedTypeName(), boundType.getClass().getCanonicalName()});
          bounds.put(argument.qualifiedTypeName(), bound);
        }
      }
    }
  }
View Full Code Here

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

                                comment = paramTag.parameterComment();
                                break;
                            }
                        }
                        if (comment == null) {
                            comment = getFirstSentence(root.classNamed(type.qualifiedTypeName()));
                        }
                        resource.addDependency(type.qualifiedTypeName(),
                                               type.dimension().equals("[]") ? "0..*" : "1",
                                               comment);
                    }
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.