Commit Graph
1345 Commits
Author SHA1 Message Date
peter b3c40ee773 dfa: highlight just method reference name on possible NPE warnings (IDEA-149904) 2016-01-20 16:47:53 +01:00
Rustam Vishnyakov 2b0419d9bd Use properly inherited Java highlighting colors (IDEA-146984 Lot of Java color options doesn't inherit from Language Default) 2016-01-20 13:02:15 +03: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
Alexey Kudravtsev 60946dd303 cleanup: avoid "ambiguous charset" warning 2016-01-18 16:11:16 +03:00
Rustam Vishnyakov 17ce797990 Move Java-specific highlighting info to Java implementation 2016-01-18 13:33:51 +03: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 bfb3944e08 for -> forEachOrdered (IDEA-150315) 2016-01-13 18:22:17 +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 e39f57a94e trivial functional expressions usage: replace anonymous 2016-01-12 16:23:25 +01:00
Anna Kozlova a2c90af6b3 trivial method reference inspection (IDEA-123298) 2016-01-11 20:19:54 +01:00
Alexey Kudravtsev ca61a35933 execute popState() always to avoid "stack is empty" exceptions like EA-73546 - assert: AbstractProgressIndicatorBase.popState 2016-01-11 14:57:19 +03:00
Anna Kozlova e0e28a8145 return type equivalence: compare supers with current method, but check type parameters from super types 2016-01-08 11:00:36 +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 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
Anna Kozlova 01fc1dc40f lambda -> method ref: make cast type denotable (IDEA-134217) 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
Bas Leijdekkers 97e899ce91 fix isJCiPAnnotation check 2015-12-31 20:23:21 +01:00
Ilya Klyuchnikov f2829d24cb a clarifying comment 2015-12-30 22:43:54 +03:00
Ilya Klyuchnikov beb151331e the same equations may produce different bytes (because of sets) 2015-12-30 16:40:17 +03:00
peter 23b32ca66b fix bytecode index typo leading to tests failure 2015-12-30 14:33:28 +01:00
Ilya Klyuchnikov a3ebf58e75 purity: syncing serialization and deserialization 2015-12-30 16:10:19 +03:00
peter 00b6a47e50 stable hashcode for purity index data structures 2015-12-30 13:24:59 +01:00
Ilya Klyuchnikov 22ee92ae74 index version up 2015-12-30 13:22:43 +03:00
Ilya Klyuchnikov a1e1465d52 new purity analysis 2015-12-30 13:22:42 +03: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 72f0bc5e0c replace with foreach: add option to replace foreach statements with statement lambda (IDEA-121659) 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
Alexey Kudravtsev 86b2b222ba IDEA-149645 "Access can be tightened" inspection should have option for avoiding synthetic accessors 2015-12-25 18:44:19 +03:00
Alexey Kudravtsev feb97a1977 cleanup 2015-12-23 16:57:38 +03:00
Alexey Kudravtsev cd72b8d540 IDEA-149684 'Declaration access can be weaker' inspection incorrectly suggests to make an inner class private even if it is used in generic parameters of the outer class 2015-12-23 16:57:38 +03:00
Alexey Kudravtsev ec51643dff respect "do not suggest private for inners" in case of anonymous class 2015-12-23 16:57:38 +03:00
peter b80e509282 a bit of javadocs for bytecode inference code 2015-12-22 17:50:10 +01:00
Alexey Kudravtsev 221b31b038 merge AccessCanBeTightened and VisibilityInspection 2015-12-15 14:17:07 +03:00
Alexey Kudravtsev 76933f00fa magic string replaced with named constant 2015-12-14 18:43:31 +03:00
Anna Kozlova 13fac3d5e2 extract functional: convert lambda to method reference when possible (IDEA-149173) 2015-12-14 10:30:48 +01:00
Alexey Kudravtsev 422bf84293 review followup 2015-12-11 13:15:10 +03:00
Anna Kozlova 132bb137a1 don't show error on method reference if functional expression is located inside invalid context without target functional type 2015-12-10 19:52:16 +01:00
Anna Kozlova 3f72d428a8 method references: show candidates if overload resolution failed (IDEA-148974) 2015-12-10 17:01:55 +01:00
Alexey Kudravtsev c351f8a12b changed hardcoded group 2015-12-10 16:46:10 +03:00
Alexey Kudravtsev 1eb7ae8b0f tighten access inspection 2015-12-10 15:59:54 +03:00
Anna Kozlova dd38082794 least upper bound: pull unbounded wildcard up so types Number & Comparable<? extends Number & Comparable<?>> are produced instead of Number & Comparable<? extends Comparable<?>>
inferred type in bounds check cleanup: accept that inference result is not within its bounds and give the inference the second chance
2015-12-09 11:25:11 +01:00
Alexander Zolotov 7cb3d001e8 Allow to use @TestOnly symbols inside @TestOnly fields (IDEA-148905) 2015-12-09 14:36:12 +10:00
peter 0ddd1243b9 honor vararg calls when inferring contracts (IDEA-148862) 2015-12-03 17:32:53 +01:00
Anna Kozlova c16a53a9fb do not open capture when method call type is calculated 2015-12-03 12:18:25 +01:00
Anna Kozlova dfe29a3a50 getSuperTypes: reuse correctType and capture (following IDEA-CR-7195) 2015-12-02 15:42:02 +01:00