Examples of Javadoc


Examples of org.eclipse.jdt.core.dom.Javadoc

    }

    @SuppressWarnings("unchecked")
    private boolean isGenerated(BodyDeclaration node) {
        boolean rc = false;
        Javadoc jd = node.getJavadoc();
        if (jd != null) {
            List<TagElement> tags = jd.tags();
            for (TagElement tag : tags) {
                String tagName = tag.getTagName();
                if (tagName == null) {
                    continue;
                }
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc

    }

    @SuppressWarnings("unchecked")
    private boolean isGenerated(BodyDeclaration node) {
        boolean rc = false;
        Javadoc jd = node.getJavadoc();
        if (jd != null) {
            List<TagElement> tags = jd.tags();
            for (TagElement tag : tags) {
                String tagName = tag.getTagName();
                if (tagName == null) {
                    continue;
                }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.Javadoc

      this.scanner.setSource(rawContent);
      this.source = rawContent;
      this.javadocStart = from;
      this.javadocEnd = to;
      this.reportProblems = true;
      this.docComment = new Javadoc(this.javadocStart, this.javadocEnd);
      commentParse();
      this.docComment.valuePositions = -1;
      this.docComment.sourceEnd--;
      return docComment;
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.Javadoc

   * @param e an Element of any sort, possibly with a javadoc comment.
   * @return a String, or null if the comment is not available
   */
  private char[] getUnparsedDocComment(Element e)
  {
    Javadoc javadoc = null;
    ReferenceContext referenceContext = null;
    switch(e.getKind()) {
      case ANNOTATION_TYPE :
      case CLASS :
      case ENUM :
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.Javadoc

   * @param e an Element of any sort, possibly with a javadoc comment.
   * @return a String, or null if the comment is not available
   */
  private char[] getUnparsedDocComment(Element e)
  {
    Javadoc javadoc = null;
    ReferenceContext referenceContext = null;
    switch(e.getKind()) {
      case ANNOTATION_TYPE :
      case CLASS :
      case ENUM :
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.Javadoc

      this.scanner.setSource(rawContent);
      this.source = rawContent;
      this.javadocStart = from;
      this.javadocEnd = to;
      this.reportProblems = true;
      this.docComment = new Javadoc(this.javadocStart, this.javadocEnd);
      commentParse();
      this.docComment.valuePositions = -1;
      this.docComment.sourceEnd--;
      return docComment;
    }
View Full Code Here

Examples of org.gradle.api.tasks.javadoc.Javadoc

    private void configureJavaDoc(final JavaPluginConvention pluginConvention) {
        Project project = pluginConvention.getProject();

        SourceSet mainSourceSet = pluginConvention.getSourceSets().getByName(SourceSet.MAIN_SOURCE_SET_NAME);
        Javadoc javadoc = project.getTasks().add(JAVADOC_TASK_NAME, Javadoc.class);
        javadoc.setDescription("Generates the javadoc for the main source code.");
        javadoc.setGroup(JavaBasePlugin.DOCUMENTATION_GROUP);
        javadoc.setClasspath(mainSourceSet.getClasses().plus(mainSourceSet.getCompileClasspath()));
        javadoc.setSource(mainSourceSet.getAllJava());
        addDependsOnTaskInOtherProjects(javadoc, true, JAVADOC_TASK_NAME, COMPILE_CONFIGURATION_NAME);
    }
View Full Code Here

Examples of org.gradle.api.tasks.javadoc.Javadoc

            javadocJar.setBuildFile(delayedFile(ECLIPSE_FORGE + "/build.gradle"));
            javadocJar.setTasks("javadoc");
            javadocJar.setConfigureTask(new Action<Task>() {
                public void execute(Task obj)
                {
                    Javadoc task = (Javadoc)obj;
                    task.setSource(project.fileTree(javadocSource));
                    task.setDestinationDir(javadoc_temp);
                }
            });
            javadocJar.dependsOn("generateProjects", "extractForgeSources");
        }
View Full Code Here

Examples of org.gradle.api.tasks.javadoc.Javadoc

            javadocJar.setBuildFile(delayedFile(ECLIPSE_MCPC + "/build.gradle"));
            javadocJar.setTasks("javadoc");
            javadocJar.setConfigureTask(new Action<Task>() {
                public void execute(Task obj)
                {
                    Javadoc task = (Javadoc)obj;
                    task.setSource(project.fileTree(javadocSource));
                    task.setDestinationDir(javadoc_temp);
                }
            });
        }
    }
View Full Code Here

Examples of org.gradle.api.tasks.javadoc.Javadoc

    private void configureJavaDoc(final JavaPluginConvention pluginConvention) {
        Project project = pluginConvention.getProject();

        SourceSet mainSourceSet = pluginConvention.getSourceSets().getByName(SourceSet.MAIN_SOURCE_SET_NAME);
        Javadoc javadoc = project.getTasks().create(JAVADOC_TASK_NAME, Javadoc.class);
        javadoc.setDescription("Generates Javadoc API documentation for the main source code.");
        javadoc.setGroup(JavaBasePlugin.DOCUMENTATION_GROUP);
        javadoc.setClasspath(mainSourceSet.getOutput().plus(mainSourceSet.getCompileClasspath()));
        javadoc.setSource(mainSourceSet.getAllJava());
        addDependsOnTaskInOtherProjects(javadoc, true, JAVADOC_TASK_NAME, COMPILE_CONFIGURATION_NAME);
    }
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.