Commit Graph
179709 Commits
Author SHA1 Message Date
Dmitry Batkovich cfbaa260fe direct inheritor search with javac indices: do not forget of classes declared in method body (when internal is A$1Name) 2016-10-12 19:19:42 +03:00
Dmitry Batkovich 7ffc9297a5 CompilerReferenceServiceImpl: check that indices is up-to-date on IDEA start (+ move all open/close indices operations to build manager's thread to prevent access from different processes simultaneously) 2016-10-12 16:45:22 +03:00
Dmitry Batkovich bc7bbf4866 search java direct inheritors using javac indices (initial): do not process lots of non-direct inheritors for library classes (IDEA-CR-14364) 2016-10-12 02:01:14 +03:00
Dmitry Batkovich 53c37a01a7 search java direct inheritors using javac indices: always use stubs to find classes by their internal names (IDEA-CR-14364) 2016-10-11 23:46:51 +03:00
Dmitry Batkovich d0fdbafa51 search java direct inheritors using javac indices: add javadoc (IDEA-CR-14364) 2016-10-11 23:43:48 +03:00
Dmitry Batkovich 81150c65e9 search java direct inheritors using javac indices: prettify JavaDirectInheritorSearcher (IDEA-CR-14364) 2016-10-11 23:43:41 +03:00
Dmitry Batkovich 6ac8c32b13 extract BaseExternalAnnotationsManager#preferCompilerElement to PsiUtil (IDEA-CR-14364) 2016-10-11 23:38:45 +03:00
Dmitry Batkovich 9f842c25a6 search java direct inheritors using javac indices (initial):
* use only one search adapter
* resolve anonymous child classes (e.g A$2$B)
* lazy iterate over candidates
2016-10-10 22:16:59 +03:00
Dmitry Batkovich 0091c14c63 CompilerReferenceService: do not restrict scope and do not find inheritors for injected elements 2016-10-10 20:30:19 +03:00
Dmitry Batkovich fe24ded346 CompilerReferenceServiceImpl: cache search results 2016-10-10 20:30:08 +03:00
Dmitry Batkovich 412cd39eba CompilerReferenceServiceImpl: mark all compiled modules as dirty if a compilation error has unknown location IDEA-CR-14319 2016-10-10 20:27:42 +03:00
Dmitry Batkovich 672ed0ac68 search java direct inheritors using javac indices (initial) 2016-10-10 20:27:20 +03:00
Dmitry Batkovich a6ec212d04 CompilerReferenceServiceImpl:
* mark modules compiled with errors as dirty
 * restore state after partial compilation was done (e.g. module test run)
 * mark as dirty modules changed during compilation
2016-10-08 13:02:29 +03:00
Dmitry Batkovich 5a90c7ac89 CompilerReferenceServiceImpl do not check ambiguity for lib classes (ex: Runnable) 2016-10-07 13:48:13 +03:00
Dmitry Batkovich 75e90b5b12 CompilerReferenceServiceImpl cleans cached values after build is done 2016-10-07 13:35:48 +03:00
Dmitry Batkovich 1b8de135a8 javac ast ref indices: detect class hierarchy ambiguity + delete from index information on deleted classes and files 2016-10-06 20:04:43 +03:00
Dmitry Batkovich d593f50d65 properly cache result for different adapters in CompilerReferenceServiceImpl (IDEA-CR-14113) 2016-10-06 15:11:02 +03:00
Dmitry Batkovich 690c78e32c fix LightFunExprUsage override 2016-10-06 12:14:18 +03:00
Dmitry Batkovich 7428613fec use FindFirstProcessor in CompilerBackwardReferenceIndex IDEA-CR-14011 2016-10-04 19:40:48 +03:00
Dmitry Batkovich 71e717e81a CompilerReferenceService rename getScopeWithoutReferences -> getScopeWithoutCodeReferences 2016-10-04 19:34:57 +03:00
Dmitry Batkovich ab970287e2 close all possible persistent maps in CompilerBackwardReferenceIndex and only then throw exception 2016-10-04 19:14:59 +03:00
Dmitry Batkovich f7902205ff use BuildManagerListener in CompilerReferenceServiceImpl to be notified about auto-compilation IDEA-CR-14011 2016-10-04 18:25:10 +03:00
Dmitry Batkovich 46ee490c21 do not initialize VFS-listener if CompilerReferenceService is unavailable 2016-10-04 17:39:56 +03:00
Dmitry Batkovich 34042a94fd ScopeOptimizer: added javadoc IDEA-CR-14113 2016-10-04 16:42:17 +03:00
Dmitry Batkovich c0fdff9623 fix npe while conversion of psi to compiler element 2016-10-03 17:46:06 +03:00
Dmitry Batkovich b6aa8d3927 rename IDEA-CR-14113 2016-10-03 15:30:07 +03:00
Dmitry Batkovich 3c70c7a381 combine UseScopeOptimizer and InCodeScopeOptimizer to ScopeOptimizer + renaming IDEA-CR-14113 2016-10-03 15:26:27 +03:00
Dmitry Batkovich 47bef1d7f9 rename in CompilerReferenceServiceImpl IDEA-CR-14113 2016-10-03 13:10:56 +03:00
Dmitry Batkovich e2d65617ec typo in "asterisk" 2016-09-29 16:59:58 +03:00
Dmitry Batkovich adbf11a951 javac ast indices is applied for lambda search 2016-09-28 18:30:40 +03:00
Dmitry Batkovich 0a22f2529b javac ast indices is applied for lambda search 2016-09-28 18:27:36 +03:00
Dmitry Batkovich 000b0a0e78 do not forget about comments while searching using javac ast 2016-09-28 15:22:37 +03:00
Dmitry Batkovich 99a8cbb31a remove offset from LightFunExprUsage 2016-09-27 17:42:35 +03:00
Dmitry Batkovich 88cb794787 langtools java-6 compatibility: no Symbol.isAnonymous() 2016-09-27 17:31:37 +03:00
Dmitry Batkovich 39698e7cb5 do not add private members references to index + add functional expressions to index 2016-09-27 10:21:58 +03:00
Dmitry Batkovich a867b6100e do not add private members references to index + add functional expressions to index 2016-09-27 10:19:58 +03:00
Dmitry Batkovich d42d499dcc testdata 2016-09-26 22:34:21 +03:00
Dmitry Batkovich 60837a127b identify anonymous classes via using jvm name 2016-09-26 22:33:07 +03:00
Dmitry Batkovich b488d47123 improve Javac8RefScanner classpath bootstraping 2016-09-23 21:58:44 +03:00
Dmitry Batkovich 826ea113fa fix import scanner for imports like "package.*;" 2016-09-23 19:43:57 +03:00
Dmitry Batkovich 89add86543 move CompilerReferenceService from indexing to java-indexing 2016-09-23 11:47:54 +03:00
Dmitry Batkovich 810cfbf1fe rename package "bytecode" -> "compiler" 2016-09-23 11:37:09 +03:00
Dmitry Batkovich 6638dd9e91 JavacRefSymbol equals && hashCode 2016-09-22 21:52:12 +03:00
Dmitry Batkovich 368562bccf javac ast is aware about compile-time constant refs 2016-09-22 19:40:46 +03:00
Dmitry Batkovich 04a816cfb8 javac ast refs index 2016-09-22 19:07:38 +03:00
Yaroslav Lepenkin 81fc6960fe [InlayParameterHints reporter] make fields public, prevent from obfuscation 2016-09-22 18:32:14 +03:00
Roman Shevchenko 6e90627dcb Cleanup (unnecessary copying) 2016-09-22 17:33:02 +03:00
Anna Kozlova c95ba9968d testdata 2016-09-22 17:25:47 +03:00
Anna Kozlova 5cf26e82bc junit: send everything to run if repeat is set to number (IDEA-160844) 2016-09-22 17:25:47 +03:00
Anna Kozlova 27f8ee01d9 EA-88746 - IAE: SynchronizedImplicitUsageProvider.isImplicitUsage 2016-09-22 17:25:47 +03:00