Commit Graph
2798 Commits
Author SHA1 Message Date
Anna.Kozlova f26364eca1 new inference: erasure of type parameters with proper bounds (IDEA-162544) 2016-10-19 19:17:33 +02:00
peter a0dcbf8fb9 remove hard references to AST via (cached) PsiClassReferenceType 2016-10-18 15:18:33 +02:00
peter 9843716975 let cls mirror AST be gc-able 2016-10-18 11:07:05 +02:00
Dmitry Batkovich 1bc12672eb Merge branch 'db/javac-ast'
# Conflicts:
#	platform/util/resources/misc/registry.properties
2016-10-17 19:05:41 +03:00
Roman Shevchenko 156a98a67b [java] automatic modules 2016-10-14 19:08:29 +02:00
Roman Shevchenko 7836eb6a6d [java] drops incomplete module lookup implementation 2016-10-14 15:08:47 +02:00
Dmitry Jemerov 10e04d282e provide hook for registering PsiElementFinder extensions before JavaPsiFacade is created in JavaCoreProjectEnvironment (required for Kotlin_ 2016-10-12 16:37:22 +02:00
Alexey Kudravtsev 42a65034e8 cleanup 2016-10-12 13:43:02 +03:00
Dmitry Batkovich 6ac8c32b13 extract BaseExternalAnnotationsManager#preferCompilerElement to PsiUtil (IDEA-CR-14364) 2016-10-11 23:38:45 +03:00
Roman Shevchenko 335c4ab14a [java] fixes type-annotated parameter index calculation (IDEA-162379) 2016-10-11 19:03:32 +02:00
peter 177904f69c fix CCE when resolving jsp anonymous class supers (EA-89544 - CCE: PsiClassImpl.calcBasesResolveContext) 2016-10-11 19:02:01 +02:00
Roman Shevchenko fcfa063303 Merge remote-tracking branch 'origin/master' 2016-10-11 16:37:45 +02:00
Roman Shevchenko 893955e1fe [java] using module stubs in analysis/highlighting code 2016-10-11 16:37:01 +02:00
Anna.Kozlova d952258679 disable redundant args for injected fragments
EA-89605 - Throwable: ExceptionUtil.currentStackTrace
2016-10-11 12:19:48 +02:00
Anna.Kozlova 41c2429966 new inference: postpone unresolved variables in favor to variables with proper equals bound 2016-10-11 10:27:29 +02:00
Roman Shevchenko 2f72f51033 [java] module references in compiled code 2016-10-10 15:20:22 +02:00
Roman Shevchenko c8b45cf00d Cleanup (formatting) 2016-10-10 12:38:36 +02:00
Roman Shevchenko f2a089bc51 [java] stubs for 'requires' and 'exports' statement (NPE fix) 2016-10-09 10:52:04 +02:00
Roman Shevchenko fef8babaad [java] stubs for 'requires' and 'exports' statement 2016-10-07 21:04:01 +02:00
Roman Shevchenko 4fe7f1c307 [java] fixes NPE (EA-89485) 2016-10-07 18:33:55 +02:00
Roman Shevchenko ff1aad9a4e Cleanup (dead code) 2016-10-07 16:13:33 +02:00
Roman Shevchenko 6ccd578b87 Cleanup (inlined uncommon method) 2016-10-07 15:33:08 +02:00
Anna.Kozlova 98094c72de lambda: ensure deep nested lambdas get target types from top level inference (IDEA-157314) 2016-10-07 13:55:01 +02:00
Alexey Kudravtsev be45d07c83 renames for clarity 2016-10-07 12:26:27 +03:00
Anna.Kozlova d5318cf286 new inference: hide overloads error on lambda, should be shown on the containing call anyway 2016-10-06 16:21:05 +02:00
Anna.Kozlova 62d25f9d05 new inference: provide incomplete inference results for lambda (IDEA-162035; IDEA-155230) 2016-10-06 16:21:05 +02:00
peter 85c92ff094 fold as closures anonymous classes with a single implemented method, as long they're not convertible to lambdas 2016-10-05 12:44:21 +02:00
peter 4183aaabd3 extract java closure folding into a separate class with smaller methods 2016-10-05 12:44:21 +02:00
Tagir Valeev b20cee57a1 ExceptionUtil.getThrownCheckedExceptions: accepts varargs now 2016-09-30 16:38:20 +07:00
Anna.Kozlova e052fabb42 conditional: ensure to convert type from parent to ll >= 1.8 so assignments would be correct, etc (IDEA-161854) 2016-09-30 09:33:28 +02:00
Roman Shevchenko 4f22f2e176 [java] Jigsaw package accessibility highlighting (source dependencies) 2016-09-29 14:11:09 +02:00
Tagir Valeev b9a06d65b9 IDEA-161861 Stream API migration should handle cases where result variable is not declared just before the for loop 2016-09-29 15:54:08 +07:00
Anna Kozlova 051a2edc5e ensure vars are created with denotable types; parameters are not covered yet as ellipsis are allowed there 2016-09-23 12:46:58 +03:00
Anna Kozlova 558da78dd2 ensure created variable has denotable type
EA-88748 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText
2016-09-23 12:46:56 +03:00
Roman Shevchenko 46df06299d Cleanup (visibility; formatting) 2016-09-22 19:22:00 +03:00
Roman Shevchenko 6f3e69454f Cleanup (service provider for JavaFileManager) 2016-09-22 15:22:31 +03:00
Roman Shevchenko ba633dffdf Merge remote-tracking branch 'origin/master' 2016-09-22 14:41:18 +03:00
Roman Shevchenko 6c758313b5 [java] renaming modules 2016-09-22 14:39:30 +03:00
Yaroslav Lepenkin 0fc703165a [InlayParameterHints] Move option to Editor | Appearance, enable by default 2016-09-21 20:09:21 +03:00
Yaroslav Lepenkin 6b7a62c3e7 Revert: [InlayParameterHints] Move option to Editor | Appearance, enable by default 2016-09-21 15:04:20 +03:00
Yaroslav Lepenkin 4ad43205e3 [InlayParameterHints] Move option to Editor | Appearance, enable by default 2016-09-21 14:52:05 +03:00
peter c795dafee3 anonymous classes can be inside method references (EA-88472 - assert: PsiClassImpl.calcBasesResolveContext) 2016-09-21 11:48:57 +02:00
Anna Kozlova b8f0e626b9 java 8 diamonds: include constructor's type parameters in inference constraints (IDEA-160918) 2016-09-19 17:43:55 +03:00
Yaroslav Lepenkin b7a5f1eceb [Extract Method] generate method with newline between braces, since otherwise with enabled "Keep simple methods in one line" formatter will keep extracted method in one line 2016-09-16 14:00:00 +03:00
Anna Kozlova f4dae32d7f overload resolution: prefer candidates with functional formal type if lambda is passed; this way conflict would be resolved and nested error would be shown instead 2016-09-16 08:34:15 +03:00
Anna Kozlova a493ff0f1d annotations: check that modifier list corresponds to class modifier list when ignore list during process declarations (IDEA-160106) 2016-09-16 08:34:14 +03:00
Anna Kozlova 8d3c33eb8c Revert: annotations: check error elements after annotation to rise annotation not expected here instead of some unpredictable warnings (IDEA-160106) (d4e7271498) 2016-09-15 20:53:42 +03:00
Anna Kozlova d4e7271498 annotations: check error elements after annotation to rise annotation not expected here instead of some unpredictable warnings (IDEA-160106) 2016-09-15 18:35:33 +03:00
Anna Kozlova 92e17eed9c substitute type parameter bounds with current substitution when method signatures in the hierarchy are checked (IDEA-159801) 2016-09-15 18:35:33 +03:00
Yaroslav Lepenkin 38bd8e699c [Parameter Name Hints] replaced FoldingDescriptor usage 2016-09-14 14:43:33 +03:00