Bug 532290 - Generify JavaModelManager

Except few cases simple type inferring, one place required a more
complex refactoring.

JMM maintained (for some obscure reasons) a temporary entry in the
PerProjectInfo.secondaryTypes map (with the key INDEXED_SECONDARY_TYPES)
containing ... another map with different type bounds, being used during
search. Instead of maintaining an incompatible entry within the
PerProjectInfo.secondaryTypes map we replace here it with a new field
PerProjectInfo.indexingSecondaryCache.

Change-Id: Ie7cc7a9e64e03624c8fad464208ebcdd86800000
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
4 files changed
tree: 6b14a16b50a9d779dfc0858714c61a79465c75a7
  1. ecj/
  2. modules/
  3. org.eclipse.jdt.annotation/
  4. org.eclipse.jdt.annotation_v1/
  5. org.eclipse.jdt.apt.core/
  6. org.eclipse.jdt.apt.pluggable.core/
  7. org.eclipse.jdt.apt.pluggable.tests/
  8. org.eclipse.jdt.apt.tests/
  9. org.eclipse.jdt.apt.ui/
  10. org.eclipse.jdt.compiler.apt/
  11. org.eclipse.jdt.compiler.apt.tests/
  12. org.eclipse.jdt.compiler.tool/
  13. org.eclipse.jdt.compiler.tool.tests/
  14. org.eclipse.jdt.core/
  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. tests-pom/
  21. .gitignore
  22. pom.xml
  23. 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, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.

License

Eclipse Public License (EPL) v1.0