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
Alexey Kudravtsev
def78466db
run code smell problems: highlighting gets canceled sometimes
2015-05-29 13:33:47 +03:00
Anna Kozlova
719bfffcae
don't override protected methods from Object in interfaces (IDEA-140804)
2015-05-28 19:42:10 +02:00
peter
2721eb3f1a
DataFlowInspectionBase: clarify logic about void lambdas
2015-05-28 14:35:31 +02:00
peter
c5b5643278
for the sake of dany's merge, revert: inline and remove StandardDataFlowRunner ( ff658adf30)
2015-05-27 10:50:46 +02:00
peter
ff658adf30
inline and remove StandardDataFlowRunner
2015-05-27 09:59:04 +02:00
peter
3ddd7d82df
dfa: remove unnecessary statefulness and clarify void type checks
2015-05-27 09:44:49 +02:00
Anna Kozlova
07dba8b585
hide generified api warning when derived class is used which 'raw'-inherits the changed jdk class
2015-05-26 16:38:13 +02:00
peter
04331ce6a7
drop contract cache on method change (EA-68596 - AIOOBE: ContractChecker.checkContractClause)
2015-05-21 15:31:39 +02:00
peter
aff4db09b0
IDEA-140536 Wrong warning: constructor @NotNull parameter should be @Nullable when field is @Nullable
2015-05-21 12:16:39 +02:00
peter
9425fa701c
NullableStuffInspectionBase: break field analysis into smaller methods
2015-05-21 12:16:39 +02:00
peter
fd62fed994
dfa: don't suggest to convert lvalue to ternary expression (IDEA-140519)
2015-05-20 15:21:20 +02:00
Anna Kozlova
1d5ff33cbe
extend check for enclosing instance for java 8 default methods in interfaces (IDEA-140492)
2015-05-20 13:49:51 +02:00
Anna Kozlova
2fc7821d06
forbid native in interfaces (IDEA-140491)
2015-05-20 13:49:49 +02:00
Alexey Kudravtsev
b41d41ddb8
cleanup
2015-05-19 12:31:09 +03:00
peter
d27b4997b9
IDEA-138441 Methods named like getters are wrongly treated as pure
...
don't track state for primitive get* methods
for reference-typed methods, track state only inside "if (getX() != null) ..."
flush dfa variables on non-pure getter-like calls
2015-05-18 17:02:51 +02:00
nik
959cee1471
IDEA-135998: Do not suggest to replace 'matches' method with precompiled Pattern in GWT Client Code
2015-05-18 15:01:33 +03:00
Anna Kozlova
6817171a69
CCE
2015-05-12 11:39:45 +02:00
Anna Kozlova
b0f1e6f2be
determining enclosing instances for inner class instance creation expressions: accept all qualified super exprs, invalid are checked separately (IDEA-139880)
2015-05-11 18:04:31 +02:00