Commit Graph
4462 Commits
Author SHA1 Message Date
Anna Kozlova 5ae9332d1a allow compile-time constants to be used from static field initializers (IDEA-142243) 2015-10-06 17:36:57 +02:00
peter f3c4a52ece dfa: don't suggest to assert/surround-with-if possible NPEs on volatile fields, suggest to extract a local variable instead (IDEA-145668) 2015-10-06 16:59:10 +02:00
peter f98d01be5e dfa: don't suggest to simplify boolean expressions with side effects (IDEA-145401) 2015-10-06 15:29:27 +02:00
peter 4d76c50f69 add LinkedHashMap to mockJdk7 2015-10-06 15:27:44 +02:00
peter 06c0f35c8f IDEA-146009 Good code is yellow: "Unboxing may produce NPE" inside forEach lambda 2015-10-06 15:24:36 +02:00
Dmitry Batrak 5a1a0305b5 IDEA-145931 Garbage text when viewing JDK Javadoc 2015-10-06 15:01:47 +03:00
Anna Kozlova 9e5da70d34 redundant suppressions: run tool on injections (IDEA-104069) 2015-10-05 22:18:32 +02:00
Anna Kozlova 4afad1703c inline: ensure parenthesis around numeric sum used inside string concatenation (IDEA-145795) 2015-10-05 20:02:23 +02:00
Ilya Klyuchnikov 7944b7a260 IDEA-145494: reformatting test data 2015-10-05 18:27:37 +03:00
Roman Shevchenko 78acdfef1f [java] numeric literal underscores should not affect highlighting (IDEA-145942) 2015-10-05 12:55:06 +02:00
Anna Kozlova 9919e9d7dc testdata for IDEA-130453 2015-10-05 11:51:33 +02:00
Anna Kozlova 010dd7c48d testdata for IDEA-136708 2015-10-05 11:51:32 +02:00
Anna Kozlova 75c14f25b6 testdata for IDEA-138752 2015-10-05 11:51:30 +02:00
Anna Kozlova 2d27bff5ad remove too smart wildcards assignments checks (IDEA-138957) 2015-10-05 11:51:29 +02:00
Anna Kozlova 4ed1c43acf testdata for IDEA-140686 2015-10-02 20:32:08 +02:00
Anna Kozlova 2a27f86b79 new inference: don't clear foreign caches - remove only expressions which were added 2015-10-02 20:32:07 +02:00
peter 1154b6f096 IDEA-145752 Annotation attribute value: irrelevant completion proposals for boolean attribute (basic completion) 2015-10-02 14:42:41 +02:00
Anna Kozlova 197110ff95 overload resolution: provide type parameter bounds with site substitutor to correctly compare types during most specific check (IDEA-144463) 2015-10-02 12:05:27 +02:00
Anna Kozlova a0ce4457ae intention to replace assignment with void-call (IDEA-143069) 2015-10-01 20:11:59 +02:00
Anna Kozlova e5979eaa35 diamonds: ensure new expression with diamond is treated as poly expression; ensure that site substitutions for constructor refs are ignored as they always contain raw substitutions 2015-09-30 17:35:12 +02:00
Anna Kozlova c111105d30 cache diamond inference results 2015-09-30 10:59:13 +02:00
Anna Kozlova 090038722a EA-70589 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2015-09-29 17:59:47 +02:00
peter 15369d718e IDEA-145680 Basic completion doesn't work inside method call after "<" in if condition 2015-09-29 11:07:45 +02:00
Gregory.Shrago ef910d7385 FileStructureTestCase refactoring: move logic out of setUp, allow testing by text 2015-09-28 23:57:26 +03:00
Anna Kozlova 3c9f16f866 extract super from anonymous fixed; no rename could be suggested
EA-71255 - assert: JavaPullUpHelper.doMoveClass
2015-09-28 20:18:35 +02:00
Anna Kozlova d5a31ea205 inference: incorporation with capture and fresh variables (IDEA-145566) 2015-09-28 20:18:34 +02:00
Alexander Zolotov 2687cd7a22 Do not filter out templates with same key but different groups from completion 2015-09-28 12:23:37 +03:00
Anna Kozlova 06eecb0b1d duplicate throws: ensure checks are proceed with correct type after first problem detected (IDEA-145542) 2015-09-25 15:43:12 +03:00
Anna Kozlova 2da2ff75fa don't reject static method of interfaces imported via static imports (IDEA-145504) 2015-09-25 15:43:09 +03:00
Alexander Zolotov 3ab37bc487 Do not complain about referencing test-only class on anonymous classes
This functionality is covered by checking PsiCallExpression elements
2015-09-25 15:29:52 +03:00
Ilya Klyuchnikov ac3ee3b425 IDEA-144129: support for inferred negated contracts 2015-09-25 15:01:31 +03:00
Anna Kozlova d9403ffcb7 encode qualifiers in method refs (IDEA-145512) 2015-09-25 13:53:43 +03:00
Anna Kozlova b29779ed87 local can be final: don't ignore problems found in lambda body (IDEA-145500) 2015-09-25 13:53:40 +03:00
Anna Kozlova 7d92ec966f new overload resolution: reject candidates with applicability level less than asked (IDEA-145505) 2015-09-24 19:58:55 +03:00
Anna Kozlova 9ebe7c76c9 unused library: bind parameter modifier lists with annotation classes (IDEA-145186) 2015-09-24 19:58:49 +03:00
Anna Kozlova dc5e1732f7 report redundant suppressions on line with suppression or on corresponding member if member annotated (IDEA-145472) 2015-09-24 13:09:22 +03:00
peter c57fa18eaa display type arguments in java completion suggestions (IDEA-143204) 2015-09-23 18:08:04 +02:00
peter ced18f2839 prefer expected type generics suggestions in java completion, overwrite existing type arguments (IDEA-145119) 2015-09-23 18:08:03 +02:00
peter e3657dfb11 always suggest non-imported annotations (IDEA-145447) 2015-09-23 18:08:03 +02:00
peter c70ab42653 fix finding lambdas implementing JDK interfaces 2015-09-23 13:48:55 +02:00
Alexey Kudravtsev 04fb864cc4 Reverted 2015-09-22 14:24:41 +03:00
Alexey Kudravtsev 54ffb7157d make temporary names more nice-looking, remove project files cached in VFS from the previous tests 2015-09-21 16:32:36 +03:00
Anna Kozlova 386c7f19c1 normalize variable declaration before application
EA-69890 - PIEAE: CompositePsiElement.getContainingFile
2015-09-18 20:47:47 +03:00
Anna Kozlova 4487019854 completion inside method call after new could use return type constrains/other variables ignoring unresolved IntellijIdeaRulezz type (IDEA-144885) 2015-09-18 14:37:16 +03:00
Anna Kozlova 8b322fadb7 static methods of interfaces: accept calls on type parameters with exact one interface bound (IDEA-145269) 2015-09-18 14:37:14 +03:00
Anna Kozlova 76c7aaf56e new inference inside enum constants (IDEA-145211) 2015-09-17 13:42:49 +03:00
Anna Kozlova 99a54a3e76 resolve/overload resolution: collect static methods of interface called on foreign class/instance but filter them out during overload resolution (IDEA-145187) 2015-09-17 13:42:45 +03:00
nik 6a479aeef7 'change language level' functionality moved to JavaProjectModelModificationService, test on IncreaseLanguageLevelFix added 2015-09-17 10:00:23 +03:00
Anna Kozlova f61de7a241 method refs: ensure inference from captured return type (IDEA-145152) 2015-09-16 18:53:31 +03:00
Anna Kozlova c26cc82486 notify about refs to foreign types (IDEA-145186) 2015-09-16 18:53:29 +03:00