Commit Graph
4698 Commits
Author SHA1 Message Date
Anna Kozlova a3c0c965fb inference incorporate optimization: avoid eq bounds propagation (IDEA-149952; IDEA-144822) 2016-01-19 20:46:08 +01:00
Anna Kozlova 0d1cca1cd1 inference: force incorporation after reduce 2016-01-19 20:46:08 +01:00
peter 1392e7705f dfa: don't shadow final variable reassignments with wide irrelevant warnings (IDEA-148984) 2016-01-19 18:15:31 +01:00
peter f012d6fe41 dfa: flush only ++ unary operator arguments (IDEA-150271) 2016-01-19 18:15:31 +01:00
Anna Kozlova 15f3eac8a2 inference:incorporation optimization: skip variable's bound incorporation if the phase didn't change these bounds 2016-01-19 12:56:50 +01:00
Anna Kozlova 0926ee29c1 TypeName.super checks for classes fixed (IDEA-150141) 2016-01-14 18:42:40 +01:00
Anna Kozlova 59f416b7d4 replace hardcoded clone with protected methods of Object (IDEA-150196) 2016-01-14 18:42:40 +01:00
Anna Kozlova 8c04e64f09 move members: ignore conflict if resolution was with static problems (IDEA-149968) 2016-01-14 16:18:20 +01:00
Anna Kozlova ae64c30eb9 inference: ensure to convert disjunction type to lub (IDEA-150364) 2016-01-14 16:18:20 +01:00
Anna Kozlova 4b1d5629ec copy classes: retarget refs in extends lists (IDEA-150234) 2016-01-13 20:22:33 +01:00
Anna Kozlova f7bbd49f75 (on-the-fly) static import of constant 2016-01-13 16:54:58 +01:00
Anna Kozlova 84b6b19292 safe delete: more precise check for safe delete top level classes (IDEA-150276) 2016-01-13 16:54:58 +01:00
Anna Kozlova 1b3ce12a93 anonym -> lambda: accept refs to initialized final fields in classes inside constructors (IDEA-150322) 2016-01-13 16:54:58 +01:00
Anna Kozlova 3fd8dfd38c change signature: convert method reference to lambda if SAM method signature was changed (IDEA-150138) 2016-01-13 16:54:58 +01:00
Anna Kozlova b56e7e0c20 change signature: propagate parameters change to lambda expressions (IDEA-150138) 2016-01-13 16:54:58 +01:00
Roman Shevchenko 1541fa8e3c [java] more fool-proof inner class detection 2016-01-13 11:26:20 +01:00
Anna Kozlova a5b7676e03 move members: process qualified ref if it was at the same time statically imported (IDEA-91634) 2016-01-12 19:28:49 +01:00
Anna Kozlova aad1c273e1 trivial functional expressions usage: inline args if provided (IDEA-131090) 2016-01-12 16:23:25 +01:00
Anna Kozlova e39f57a94e trivial functional expressions usage: replace anonymous 2016-01-12 16:23:25 +01:00
Anna Kozlova fee6bc1ba5 trivial functional expressions usage (IDEA-131090) 2016-01-12 13:45:16 +01:00
Anna Kozlova a2c90af6b3 trivial method reference inspection (IDEA-123298) 2016-01-11 20:19:54 +01:00
Anna Kozlova d8ea1bc2fe inline method to method reference: convert to lambda (IDEA-148481) 2016-01-11 18:53:47 +01:00
Anna Kozlova 3baa03058b overload resolution: ensure all list of parameters is checked during most specific check of varargs methods (IDEA-150224) 2016-01-11 16:36:11 +01:00
Anna Kozlova 108c733015 safe delete: check hierarchy excluding current method (IDEA-150176) 2016-01-09 13:01:50 +01:00
Anna Kozlova 31c6b67ce6 inference: stop tree up traversal when lambda expression is currently checked
EA-76546 - assert: InferenceSessionContainer.treeWalkUp
IDEA-150168; IDEA-150166
2016-01-08 20:15:17 +01:00
Roman Shevchenko c4c5651a41 [java] another case of inner class detection 2016-01-08 14:45:23 +01:00
Anna Kozlova d0102e37cb captured wildcards: fix casting to arrays (IDEA-150124) 2016-01-07 20:14:48 +01:00
Anna Kozlova c16e402bed return type equivalence: compare supers with current method (IDEA-147335) 2016-01-07 20:14:48 +01:00
Anna Kozlova 99e4c75ee7 inherit unrelated abstract/default through hierarchy: don't merge methods with not override equivalent signatures (IDEA-146135) 2016-01-07 16:06:39 +01:00
Anna Kozlova df3e5be8cb inherit unrelated abstract/default through hierarchy (IDEA-146070) 2016-01-07 16:06:39 +01:00
Anna Kozlova a25cb73db1 inherit abstract/default when inheritor provides substitutor which makes 2 different methods in the super hierarchy override equivalent (IDEA-140490; IDEA-146056) 2016-01-07 16:06:39 +01:00
Anna Kozlova e32cc02725 inherit unrelated concrete methods with same signature error (IDEA-67838) 2016-01-07 16:06:39 +01:00
Roman Shevchenko 21f3a61991 [java] inner class detection corrected; early exit added 2016-01-07 15:33:27 +01:00
Roman Shevchenko d02243ef41 [java] better inner class detection (IDEA-132606) 2016-01-05 13:12:14 +01:00
Anna Kozlova 01fc1dc40f lambda -> method ref: make cast type denotable (IDEA-134217) 2016-01-04 19:25:03 +01:00
Anna Kozlova 88586f6ab9 method refs: captured wildcard at receiver position
EA-77434 - assert: PsiMethodReferenceCompatibilityConstraint.getParameterizedTypeSubstitutor
2016-01-04 19:25:03 +01:00
Anna Kozlova 82773c69e0 redundant explicit types: available inside nested calls for java 8 (IDEA-134160) 2016-01-04 19:25:03 +01:00
Anna Kozlova 2021b5fa00 accept javax.annotation.concurrent as JSR 305 annotations for concurrency group inspections (IDEA-75733) 2016-01-04 13:07:14 +01:00
Anna Kozlova 105f33870f method references with qualifier with captured wildcard type: retrieve upper bound as it is done for method calls 2015-12-30 18:56:58 +01:00
Anna Kozlova 6aa61227df method reference: replace raw substitutor from second search with inferred substitutor and don't forget super class substitution (IDEA-149488) 2015-12-30 15:29:56 +01:00
Ilya Klyuchnikov 00712ecdf5 new annotations 2015-12-30 13:22:42 +03:00
peter 2fff9c497b make smart completion work in java extends/implements clauses (IDEA-38166) 2015-12-29 18:00:59 +01:00
Anna Kozlova ec2128de5a disable add type cast fix for non-denotable types (IDEA-149787) 2015-12-29 16:46:58 +01:00
Anna Kozlova 242cd356a7 method reference: additional diagnostics for invalid method references (IDEA-149688) 2015-12-29 16:46:58 +01:00
Anna Kozlova 210217ecfa new inference: already resolved vars can't have bounds problems (IDEA-149740) 2015-12-29 16:46:58 +01:00
Anna Kozlova 46ce9ed914 testdata for IDEA-149774 2015-12-28 19:07:22 +01:00
Anna Kozlova c4711f94ef testdata for IDEA-149709 2015-12-28 19:07:22 +01:00
Anna Kozlova 2a1cdfff85 push down: decode references once with respect to other moved members (IDEA-149639) 2015-12-28 19:07:22 +01:00
Anna Kozlova adaa0f09b7 new inference: pull erased flag through nested calls (IDEA-133613) 2015-12-28 19:07:22 +01:00
Anna Kozlova 2be1c64a13 new inference: correct capture incorporation (IDEA-149807) 2015-12-28 19:07:22 +01:00