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
Anna Kozlova
2f47f0caf0
migration to stream api: disable for raw types (IDEA-140095)
2015-05-08 21:01:45 +02:00
Roman Shevchenko
28e912e40b
Cleanup (misc. deprecated API dropped from *-impl modules)
2015-04-30 19:08:06 +02:00
Anna Kozlova
95dfffccb0
replace with collect: insert cast for method reference and simplify when redundant (IDEA-139704)
2015-04-28 13:04:58 +02:00
Anna Kozlova
02e86e0ab9
static interface method: if called on wrong qualifier mark as static problem (IDEA-139651)
2015-04-28 13:04:57 +02:00
Anna Kozlova
553ad77e46
overload resolution: reject java 8 varargs methods when they are checked by fixed arity and number of parameters doesn't match
2015-04-24 20:33:40 +02:00
Anna Kozlova
511a356788
reifiable types: ensure that generic types with only all type params as unbound wildcards are treated as reifiable (IDEA-139577)
2015-04-24 20:33:37 +02:00
peter
c577be8f4f
dfa: correctly handle ""== Boolean.TRUE/FALSE"
2015-04-24 19:16:44 +02:00
Anna Kozlova
e5097dfc24
lambda -> method ref: ensure that capture is checked according to the param ref; avoid wildcards in method ref qualifiers (IDEA-139529)
2015-04-24 13:46:11 +02:00
Alexey Kudravtsev
285b2e2409
notnull
2015-04-24 14:17:18 +03:00
Dmitry Batkovich
9d98bbcc04
SuperClassHasFrequentlyUsedInheritorsInspection: class cast exception fixed (EA-57525)
2015-04-23 16:59:27 +03:00
Alexey Kudravtsev
1d96ffead0
notnull
2015-04-21 14:25:31 +03:00
peter
64e2d1b3bb
IDEA-138521 Infer contracts for anonymous class methods resolved to from outside
2015-04-20 18:09:56 +02:00
peter
466bd18aff
add hardcoded contracts for Guava checkArgument/checkState (IDEA-126005)
2015-04-20 17:06:34 +02:00
peter
96b1e4a3df
IDEA-139392 "Method Invocation may produce NPE" warning after call to assertThat().isNotNull from Google Truth framework
2015-04-20 17:06:33 +02:00
Alexey Kudravtsev
2e0e544145
fields made final
2015-04-20 13:24:37 +03:00
Anna Kozlova
f0fae34076
intersection types in cast: provide "delete repeated interface" fix
2015-04-20 10:19:24 +02:00
Anna Kozlova
f5cec5e24a
intersection in cast type: repeat interface, different parameterization checks
2015-04-20 10:19:22 +02:00
peter
ce9914e697
IDEA-139253 TYPE_USE @Nullable-Annotations don't work correctly with arrays
2015-04-16 19:11:46 +03:00
peter
51e23e6063
IDEA-139301 "Constant conditions & exceptions" flaggs nullable expression when implementing a method returning void
2015-04-16 19:11:45 +03:00
Roman Shevchenko
0d45ed8f65
EA-67812 (NPE fixed)
2015-04-15 12:59:19 +02:00
peter
1b7a05e26f
IDEA-138553 Inspection for usages of Optinoal.ofNullable() for values known to be null or non-null
2015-04-14 23:12:38 +03:00
Anna Kozlova
761b92fd93
use existing constant (IDEA-CR-2300)
2015-04-13 19:23:42 +02:00
Roman Shevchenko
4467c9f3e4
Cleanup (formatting)
2015-04-13 15:07:21 +02:00
Dmitry Batkovich
217452d406
StaticPseudoFunctionalStyleMethodInspection: Inspection to replace old pseudo functional code with stream api. added options to create custom templates. Tests fixed. Description improved. Moved to java-impl module
2015-04-11 11:28:39 +03:00
Anna Kozlova
3a108cb40d
Optional.of -> ofNullable also for guava (IDEA-124359)
2015-04-09 17:02:26 +02:00
Alexey Kudravtsev
93be508a11
simplification
2015-04-09 14:38:49 +03:00
Anna Kozlova
778952b6e3
dataflow inspection: suggest to replace Optional.of with Optional.ofNullable if value could be null (IDEA-124359)
2015-04-08 21:14:35 +02:00
Anna Kozlova
dd6bcb076f
move cast fixes on top (IDEA-138935)
2015-04-08 21:14:34 +02:00
peter
7de7128fc9
infer that method is nullable when it returns null inside a ternary expression
2015-04-08 18:13:16 +02:00
peter
4ec8011316
relax "!null" contract checking to accept exceptions thrown (IDEA-133488)
2015-04-08 18:13:15 +02:00
Anna Kozlova
4958470009
redundant suppressions: ignore global custom inspections (IDEA-138622)
2015-04-02 21:19:53 +02:00
Anna Kozlova
b8683c3640
lambda -> meth ref: accept receiver only for calls on lambda params (IDEA-138593)
2015-04-01 20:39:31 +02:00
Dmitry Batkovich
8dec74314d
IDEA-138382 Added inspection to report about duplicated characters in StringTokenizer's delimiters
2015-04-01 14:47:00 +03:00
Anna Kozlova
b0db0e5444
strictfp in interfaces for java 1.8 (IDEA-138501)
2015-03-31 13:48:27 +02:00
Anna Kozlova
a4eba96102
anonymous -> lambda: name conflict with params resolution (IDEA-138494)
2015-03-31 13:48:26 +02:00
Anna Kozlova
67e8f1844a
make change class signature available from incomplete code
2015-03-25 16:50:46 +01:00
Anna Kozlova
08e1a0b629
anonymous -> lambda: accept cast cases
2015-03-25 12:51:34 +01:00