Commit Graph
2831 Commits
Author SHA1 Message Date
peter ba4cd74056 for java completion, choose method with most specific return type among same-signature candidates (IDEA-136174) 2015-10-26 12:39:50 +01:00
peter 1858564abc IDEA-137013 InstanceOf checking leads to appearing redundant completion item while smart double-completion 2015-10-26 12:32:21 +01:00
peter a14ad4d037 IDEA-123870 Completion does not suggest expected methods after instanceof 2015-10-26 12:32:20 +01:00
peter 1c82045b85 IDEA-95289 Completion for 'break' in labeled element 2015-10-24 23:42:28 +02:00
peter 3ed90b5c22 IDEA-130264 Completion for super methods of containing class 2015-10-24 23:42:27 +02:00
peter 6694afe5b8 prefer completion variants that have a member with the name that's to the right of the caret (IDEA-114115) 2015-10-24 23:42:27 +02:00
Anna Kozlova ec5f440e09 subtyping constraint: accept array types if left type is assignable from array, e.g Serializable (IDEA-146592) 2015-10-20 20:58:49 +02:00
peter 5d31a4c147 IDEA-146512 Code completion adds unnecessary type parameter 2015-10-17 12:36:37 +02:00
Anna Kozlova ffa42cda83 cls: ensure canonical text don't miss whitespaces around wildcards (IDEA-146452) 2015-10-16 16:44:27 +02:00
Dmitry Batrak d333668b67 IDEA-145725 Quick documentation shows the wrong Javadoc for package-info.java 2015-10-15 19:38:43 +03:00
Anna Kozlova bd72fa775d generics dependency on raw type (IDEA-146395) 2015-10-15 18:21:25 +02:00
Anna Kozlova e32dfdfa8a UnsupportedOperationException 2015-10-15 15:02:50 +02:00
Anna Kozlova 4916734a24 reifiable type check fixed for local classes; instanceof check to use the same algorithm (IDEA-146352; IDEA-146351) 2015-10-14 17:05:36 +02:00
Anna Kozlova f29517700f highlight type parameter extends list errors: check once for all refs in refList not to repeat ourselves 2015-10-14 11:12:30 +02:00
Anna Kozlova 249d8ca4ba change signature from usage: ensure not substitute parameter type from call site (IDEA-146284) 2015-10-12 20:15:41 +02:00
Anna Kozlova d13663483d overload resolution: choose one of overload equivalent abstract methods arbitrarily (IDEA-146261) 2015-10-12 20:15:40 +02:00
Anna Kozlova 773e192f1a recursive getLambdaParameterType problem: don't check nested lambda body for unchecked exceptions, that's impossible anyway (IDEA-146161) 2015-10-09 17:17:09 +02:00
Anna Kozlova c000624704 overload resolution: treat default methods as abstract; don't include static interface methods in conflict resolution when target expression type does not correspond to the containing interface (IDEA-146055) 2015-10-07 19:36:05 +02:00
Anna Kozlova 77ab5f3571 parameter popup: don't show hidden methods (IDEA-144944) 2015-10-07 19:35:58 +02:00
Yaroslav Lepenkin 9f2128c39a Added test for "iter" postfix template (IDEA-CR-5441) 2015-10-07 15:56:47 +03:00
peter 4658e65121 IDEA-143934 Failed to complete static methods on class from excluded package 2015-10-06 18:33:47 +02:00
Anna Kozlova 2b4d30bc16 diamonds: additional diagnostics for cases when constructor is unresolved (IDEA-146028) 2015-10-06 17:36:58 +02:00
Anna Kozlova 5ae9332d1a allow compile-time constants to be used from static field initializers (IDEA-142243) 2015-10-06 17:36:57 +02:00
Dmitry Batrak 5a1a0305b5 IDEA-145931 Garbage text when viewing JDK Javadoc 2015-10-06 15:01:47 +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
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
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 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
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