Commit Graph
1402 Commits
Author SHA1 Message Date
Roman Shevchenko 6384ced243 [java] overloads in Java module system (IDEA-CR-22413) 2017-07-03 15:26:22 +02:00
Roman Shevchenko be7d40349a Cleanup (formatting) 2017-06-30 19:12:40 +02:00
Roman Shevchenko da8d4569de [java] comments (IDEA-CR-22413) 2017-06-30 19:11:26 +02:00
Alexey Kudravtsev 21b372a285 separate FactoryMap and ConcurrentFactoryMap: use FactoryMap for thread-unsafe code only.
Usages converted to hide FactoryMap impl details.
2017-06-30 15:14:26 +03:00
Alexey Kudravtsev abe554019b IDEA-CR-22456 followup 2017-06-30 13:53:25 +03:00
Alexey Kudravtsev 8037bdbfd1 annotate method if asked even it's (implicitly) inferred as NotNull 2017-06-29 15:55:13 +03:00
Roman Shevchenko a5116c75cc [java] module accessibility check at resolve (IDEA-168880) 2017-06-28 21:19:02 +02:00
peter 4713328ffe resolve member/type annotation nullable/notnull conflict (IDEA-174042) 2017-06-28 16:06:40 +02:00
Bas Leijdekkers f8b1f9274f use PsiUtil.isJavaToken() utility method by applying SSR 2017-06-27 08:29:31 +02:00
Anna Kozlova 361b030902 introduce type parameters collector in PsiTypesUtil
remove duplicates, ensure inner classes are processed correctly
2017-06-22 21:46:31 +03:00
Anna Kozlova cbe6eb48ed take into account container class type parameters: return type
detection if return type mentions type parameters should include types specified on outer class
2017-06-22 15:54:30 +03:00
Anna Kozlova 1307ac8e78 abandon isFullyInferred from LambdaUtil 2017-06-22 15:54:29 +03:00
Roman Shevchenko 246b47b299 Cleanup (formatting) 2017-06-21 22:10:12 +03:00
Roman Shevchenko 42f4b6440f Cleanup (formatting) 2017-06-21 21:33:40 +03:00
Roman Shevchenko baf426a33d Cleanup (formatting) 2017-06-21 21:20:29 +03:00
Roman Shevchenko 72fd8cc6e5 Cleanup (minor optimization; formatting) 2017-06-19 13:28:42 +03:00
Anna Kozlova 3a6e9643f6 validate annotations on type validation
EA-103342 - PIEAE: PsiUtilCore.ensureValid
2017-06-16 19:14:29 +03:00
Anna Kozlova f60676d110 default Optional.empty for Optional type (IDEA-174268) 2017-06-14 19:27:02 +03:00
Anna Kozlova 268a6149e3 remove paragraph symbol (IDEA-CR-21844) 2017-06-14 11:51:51 +03:00
Anna Kozlova 605dfb1c3c redundant cast: ensure cast type compared with ground type (IDEA-174369)
remove attempts to emulate that and reuse getGroundTargetType api
2017-06-13 20:27:13 +03:00
Anna Kozlova 7f56e82578 introduce functional expression ground target type 2017-06-13 20:27:12 +03:00
Alexey Kudravtsev 3c9c050b46 fixed yellow code in PersistentFSImpl where VEvent was casted to subclass for the method different not-nullness 2017-06-09 11:08:23 +03:00
Bas Leijdekkers 547abc95e5 IG: leave cast alone when it is necessary (IDEA-173430) 2017-06-06 10:39:43 +02:00
peter b61faedfd6 support @TypeQualifierNickname (IDEA-173544) 2017-06-05 19:20:02 +02:00
peter 473d383cbe dfa: prefer unknown nullity from super over scoped nullity default (IDEA-167062) 2017-06-03 18:07:11 +02:00
peter a2ac5de6b4 hardcode Spring @Nullable annotation for now (IDEA-173544) 2017-05-30 13:19:46 +02:00
Anna Kozlova c5c4b4debc enable annotate externally for disabled property but configured annotation roots (IDEA-CR-21393) 2017-05-26 17:52:44 +03:00
Anna Kozlova 51bcfcecf9 inference: don't traverse up through lambda bounds when parent inference was already started, in this case it's exception inference which should work without top level node (EA-83073 - assert: LambdaUtil.treeWalkUp; IDEA-173467) 2017-05-26 13:36:45 +03:00
Alexey Kudravtsev 557b56b398 parsing version string millions times a second is ecologically incorrect 2017-05-25 17:52:20 +03:00
Anna Kozlova 435387f851 external annotations: refactoring listener (IDEA-170718) 2017-05-25 10:42:45 +03:00
Anna Kozlova c01cdc6f1c varargs for java < 1.8 (IDEA-CR-21051) 2017-05-16 14:54:11 +03:00
peter 582f0f9571 IDEA-CR-20904 fixes after review (IDEA-123301 Show a warning if 'List<@Nullable X>' is passed to a place where 'List<@NotNull X'> is expected)
supported maps, inheritance, returns, functional expressions
2017-05-15 16:16:19 +02:00
Alexey Kudravtsev 4a4626c750 removed default file header, because it adds no information but subtracts attention and space 2017-05-12 14:02:24 +03:00
Roman Shevchenko ec0ea8c39b Cleanup (javadoc for IDEA-CR-20973) 2017-05-11 12:54:15 +02:00
Alexey Kudravtsev 920d5b4fba removed default file header, because it adds no information but subtracts attention and space 2017-05-11 13:39:07 +03:00
Roman Shevchenko c82a647af1 [java] improves JDK version detection (IDEA-172477) 2017-05-10 18:29:53 +02:00
Alexey Kudravtsev 5d6916b867 EA-100955 - IAE: PsiUtil.getLanguageLevel 2017-05-09 13:20:57 +03:00
Anna Kozlova 196dab5999 applicability errors: help gc (IDEA-CR-20891) 2017-05-08 13:03:03 +03:00
Anna Kozlova 77f4894aae inference errors: make applicability error thread safe so multiple threads can perform overload resolution of parent method calls independently, save presentable error when substitutor cached only 2017-05-08 12:12:13 +03:00
peter fa07225451 java accessor generation completion: skip totally malformed fields (EA-100873 - IOE: PsiJavaParserFacadeImpl.createParameterFromText) 2017-05-08 09:55:12 +02:00
Alexey Kudravtsev e01164a7eb removed new String(string) 2017-05-07 13:04:13 +03:00
Anna.Kozlova b5d8650610 NPE 2017-05-05 22:05:00 +02:00
Alexey Kudravtsev a68d3416a4 introduce PsiLiteralValue for getting literal value language-independent way 2017-05-05 15:23:21 +03:00
Anna Kozlova 1d36b86e0c lambda: ensure static factory is used when diamonds 2017-05-04 20:29:52 +03:00
Anna Kozlova 5516110b50 lambda: don't hide raw substitutions in functional types hierarchies (IDEA-172301) 2017-05-04 20:29:52 +03:00
Alexey Kudravtsev 4e910f95a3 no more unnecessary unicode § — to speedup file load 2017-05-04 13:26:19 +03:00
peter 3f855b63d5 add @CheckForNull to default nullable annotations
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000214944-Why-javax-annotation-CheckForNull-is-not-included-in-nullable-annotations-set-by-default-
2017-05-04 12:20:15 +02:00
Anna.Kozlova ee750f165b ensure array is not accepted as functional interface (IDEA-172048) 2017-04-28 20:23:23 +02:00
Anna.Kozlova 583a728f89 cleanup redundant type arguments 2017-04-27 12:37:01 +02:00
peter b756f221ba equals of PropertyGroup node shouldn't depend on PsiType (EA-99891 - INRE: FileBasedIndexImpl.handleDumbMode)
plus cleanup, remove test-only code
2017-04-25 09:45:55 +02:00