Examples of DocComment


Examples of uk.co.badgersinfoil.metaas.dom.DocComment

  public boolean isRest() {
    return ast.getFirstChild().getType() == AS3Parser.REST;
  }

  public String getDescriptionString() {
    DocComment doc = getMethod().getDocumentation();
    String name = getName();
    DocTag tag = DocCommentUtils.findParam(doc, name);
    if (tag == null) {
      return null;
    }
View Full Code Here

Examples of uk.co.badgersinfoil.metaas.dom.DocComment

  public List getStatementList() {
    return stmtList().getStatementList();
  }

  public String getReturnDescriptionString() {
    DocComment doc = getDocumentation();
    DocTag ret = doc.findFirstTag("return");
    if (ret == null) {
      return null;
    }
    return ret.getBodyString();
  }
View Full Code Here

Examples of uk.co.badgersinfoil.metaas.dom.DocComment

    }
    return ret.getBodyString();
  }

  public void setReturnDescription(String description) {
    DocComment doc = getDocumentation();
    DocTag ret = doc.findFirstTag("return");
    if (ret == null) {
      if (description != null) {
        doc.addParaTag("return", description);
      }
    } else {
      if (description == null) {
        doc.delete(ret);
      } else {
        ret.setBody(description);
      }
    }
  }
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.