Bug 549855 - [javadoc] Add error checking for @uses and @provides tags

- change AbstractCommentParser.getTokenEndPosition() to be protected
- add module-info support to CompilationUnitDeclaration.resolve()
- add new IProblem values for @provides and @uses errors
- add new code to Javadoc resolve(Methodscope) method to support
  parsing module-info javadoc
- add resolveUsesTags() and resolveProvidesTags() methods to Javadoc to
  check tags against actual uses and provides statements
- add parseUsesReference() and parseProvidesReference() methods to
  JavadocParser to parse @uses and @provides tags
- add new IProblem messages to messages.properties
- add javadoc field to ModuleDeclaration
- add new uses and provides tag error support to ProblemReporter
- in Parser.consumeModuleDeclaration() set up compilationUnit javadoc
- add new javadocModuleMissing method to ProblemReporter
- add new JavadocTestForModule test class
- add new IJavadocTypeReference interface and have
  JavaQualifiedTypeReference and JavaSingleTypeReference implement it

Change-Id: Ib4eff519fe53c1fdb9ceca5d480dccb55aa23ab8
14 files changed
tree: 166794e54367b3e68566ba02bda022f34ca32470
  1. modules/
  2. org.eclipse.jdt.annotation/
  3. org.eclipse.jdt.annotation_v1/
  4. org.eclipse.jdt.apt.core/
  5. org.eclipse.jdt.apt.pluggable.core/
  6. org.eclipse.jdt.apt.pluggable.tests/
  7. org.eclipse.jdt.apt.tests/
  8. org.eclipse.jdt.apt.ui/
  9. org.eclipse.jdt.compiler.apt/
  10. org.eclipse.jdt.compiler.apt.tests/
  11. org.eclipse.jdt.compiler.tool/
  12. org.eclipse.jdt.compiler.tool.tests/
  13. org.eclipse.jdt.core/
  14. org.eclipse.jdt.core.ecj.validation/
  15. org.eclipse.jdt.core.internal.tools/
  16. org.eclipse.jdt.core.tests.builder/
  17. org.eclipse.jdt.core.tests.compiler/
  18. org.eclipse.jdt.core.tests.model/
  19. org.eclipse.jdt.core.tests.performance/
  20. org.eclipse.jdt.tests.latestBREE/
  21. tests-pom/
  22. .gitignore
  23. CONTRIBUTING
  24. LICENSE
  25. NOTICE
  26. pom.xml
  27. README.md
README.md

JDT Core

This is the core part of Eclipse's Java development tools. It contains the non-UI support for compiling and working with Java code, including the following:

  • an incremental or batch Java compiler that can run standalone or as part of the Eclipse IDE
  • Java source and class file indexer and search infrastructure
  • a Java source code formatter
  • APIs for code assist, access to the AST and structured manipulation of Java source.

For more information and important links, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.

License

Eclipse Public License (EPL) v2.0