Commit Graph
1181 Commits
Author SHA1 Message Date
Eugene Zhuravlev f4e9caeb35 enable reference search and highlighting in java scratches 2015-07-30 15:24:26 +02:00
Alexey Kudravtsev 99a0bede9f converted to walking visitor 2015-07-30 14:56:54 +03:00
Alexey Kudravtsev 370676d0bc unquadratization 2015-07-30 14:56:37 +03:00
peter 9f526b4783 IDEA-137170 Static nullability analysis incorrectly marks parameter as @Nullable in Android SDK 2015-07-29 20:27:11 +02:00
peter 9a97b80cfd contract cache should respect the calculation time parameter count (EA-68596 - AIOOBE: ContractChecker.checkContractClause) 2015-07-25 15:14:36 +02:00
Roman Shevchenko d66a9bda00 [jsp] fixes unhandled exceptions highlighting in inner classes and lambda expressions 2015-07-23 17:08:15 +02:00
Roman Shevchenko fe7ba298f6 Merge remote-tracking branch 'origin/master' 2015-07-22 18:26:08 +02:00
Roman Shevchenko cff7efd5d1 [java] since Java 9, underscore identifiers are completely prohibited (IDEA-132278) 2015-07-22 18:23:28 +02:00
Roman Shevchenko f7f0a5c0c4 [java] adds support for Java 9's improved try-with-resources (IDEA-140266)
PSI, parser, highlighting, exception analysis, control flow, completion.
2015-07-22 16:28:39 +02:00
Roman Shevchenko 6296977fea Cleanup (formatting) 2015-07-22 09:22:33 +02:00
Anna Kozlova 7677f61dc5 invalid annotation type detection based on type element (IDEA-142884) 2015-07-21 18:36:10 +02:00
Ilya Klyuchnikov ddfe19af66 Extract duplicated method 2015-07-21 11:22:16 +03:00
Roman Shevchenko 8d620bf87f Merge remote-tracking branch 'origin/master' 2015-07-21 09:17:29 +02:00
Anna Kozlova 75e3086fb2 lambda -> meth ref: reject replacements with invalid qualifiers (IDEA-142695) 2015-07-21 08:51:06 +02:00
peter 1b70adbfd4 IDEA-137195 Not annotated constant fields should be treated as Nullable or NotNull when static code analysis is able to prove Nullable/NotNull 2015-07-20 17:20:58 +02:00
Roman Shevchenko 32a6761ede Cleanup (i18n; text corrected) 2015-07-20 12:06:25 +03:00
Anna Kozlova 83e6930772 add annotation: ignore inferred during remove conflicting ones 2015-07-16 22:27:01 +03:00
Roman Shevchenko f2f12d5118 IDEA-63968 (drops obsolete Java keyword highlighting inside Javadoc) 2015-07-16 20:03:57 +03:00
Roman Shevchenko 106d1d5175 java: "Java X" language level for experimental features; T<any> wildcard support 2015-07-14 16:55:24 +03:00
Alexey Kudravtsev edb2e5e30d NPE: demand argument arrays to contain not nulls 2015-07-13 14:09:35 +03:00
peter eeabb7e9d8 IDEA-82971 False inspection int == double 2015-07-10 22:33:29 +02:00
peter 1f354e0e3d dfa: don't report parenthesized condition (IDEA-27427) 2015-07-10 20:38:55 +02:00
peter da6bf872ab IDEA-66134 Inspection "Constant conditions & exceptions": ignore boolean named constants 2015-07-10 20:38:55 +02:00
peter 99f343707f dfa: inspect enum constant methods (IDEA-142299) 2015-07-10 20:38:54 +02:00
peter 83b5a41c82 IDEA-18499 <logic:iterate> confuses always true inspection 2015-07-10 20:38:54 +02:00
peter bcc1f55c12 IDEA-142391 Don't report overriding externally-annotated @NotNull methods/parameters when there's no @NotNull annotation in the project 2015-07-10 20:38:53 +02:00
peter 1155a92a9e dfa: suppress constant condition checking for expression-internal assignments (IDEA-31697) 2015-07-10 20:38:53 +02:00
Anna Kozlova 8a9e5ae9db A.super.field should not accept super interface (IDEA-140646) 2015-07-07 18:18:30 +03:00
Roman Shevchenko 2edb98e34d Merge remote-tracking branch 'origin/master' 2015-07-02 15:53:14 +03:00
Roman Shevchenko fd0061d246 java: receiver parameter highlighting 2015-07-02 15:29:22 +03:00
Alexey Kudravtsev 863eeb1898 IDEA-141330 Find Usages cannot find valid usage from abstract class 2015-07-02 12:48:38 +03:00
Dmitry Batkovich 507388b7a5 StaticPseudoFunctionalStyleMethodInspection: more clear options, validation of obtained result, part of problems with type parameters are fixed 2015-07-01 14:51:30 +03:00
peter c8a1a2d447 don't allow to delete external/inferred annotations (EA-65757 - PIEAE: PsiUtilCore.ensureValid) 2015-06-29 17:29:27 +02:00
Anna Kozlova 5ff68d71b0 stream api: shorten class references when replace with foreach 2015-06-26 15:13:22 +03:00
Alexey Kudravtsev f240e0941a cleanup 2015-06-26 14:42:15 +03:00
Alexey Kudravtsev 9e99eabbb6 IDEA-141923 Errors in for-each statement header aren't highlighted if there're errors in its body 2015-06-26 14:42:13 +03:00
peter b4a9a53ec7 dfa: report constant xor conditions only for the last operator in polyadic (IDEA-141853) 2015-06-24 18:37:44 +02:00
peter 69081779fe dfa, Optional.ofNullable: suggest improvements only if in all states the arg was null or non-null (IDEA-141843) 2015-06-24 16:47:22 +02:00
peter 02fc02798f dfa: handle in a special way only getX() != null comparisons (IDEA-141823) 2015-06-24 14:29:34 +02:00
Anna Kozlova 6fd53851a0 report unrelated defaults when 2 default methods provided; abstract/default otherwise (IDEA-141714) 2015-06-23 12:05:22 +03:00
Alexey Kudravtsev 819506fb10 highlight override problems even if there are errors in method body 2015-06-22 15:19:43 +03:00
Anna Kozlova 30a12275a2 lambda: highlight containing method ambiguity on method name: this avoids lots of lines of lambda body to be highlighted and it would show errors even if lambda body contains errors actually caused by the ambiguity on the parent level (IDEA-141580) 2015-06-18 17:54:23 +03:00
Roman Shevchenko 45c2cf0d8e Cleanup (formatting; typos) 2015-06-18 12:13:03 +03:00
Alexey Kudravtsev ec80e685eb cleanup 2015-06-11 15:30:33 +03:00
Anna Kozlova faa8cd1739 javac quirks: change according to javac version instead of language level (IDEA-141312) 2015-06-10 15:04:57 +03:00
Anna Kozlova 155f283f0e convert to streams: convert lambda to constructor reference; don't accept list when arrayList expected 2015-06-09 20:31:02 +03:00
Dmitry Avdeev 9cafce49a5 tooltips with hints 2015-06-09 14:12:17 +03:00
Alexey Kudravtsev 650b7200b7 PCE during 'perform code analysis' for the file outside sources 2015-06-04 13:48:29 +03:00
Alexey Kudravtsev 337bc95a31 wait for all highlights applied in tests, one highlight session per indicator 2015-06-04 13:48:07 +03:00
Alexey Kudravtsev 2a28d17564 optimisation: do not search method overrides repeatedly for each parameter 2015-06-03 17:11:46 +03:00