Package com.iggroup.oss.restdoclet.doclet.type

Examples of com.iggroup.oss.restdoclet.doclet.type.ResponseParameter


      ArrayList<ResponseParameter> responseParams =
         new ArrayList<ResponseParameter>();
      // Add return type
      if (methodDoc.returnType() != null) {
         responseParams.add(new ResponseParameter(DocTypeUtils
            .getTypeName(methodDoc.returnType()), DocTypeUtils
            .getTypeName(methodDoc.returnType()), DocletUtils
            .preserveJavadocFormatting(DocTypeUtils.getReturnDoc(methodDoc))));
      }
      // Add any checked exceptions
      for (ClassDoc exceptionDoc : methodDoc.thrownExceptions()) {
         responseParams.add(new ResponseParameter(DocTypeUtils
            .getTypeName(exceptionDoc),
            DocTypeUtils.getTypeName(exceptionDoc), DocletUtils
            .preserveJavadocFormatting(DocTypeUtils
               .getTypeDoc(exceptionDoc))));
      }
View Full Code Here

TOP

Related Classes of com.iggroup.oss.restdoclet.doclet.type.ResponseParameter

Copyright © 2018 www.massapicom. 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.