Commit Graph
6126 Commits
Author SHA1 Message Date
Anna Kozlova 4ee27fecce can complete normally for nested try-with-resources (IDEA-138961) 2015-04-09 17:02:25 +02: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 6047478cae redundant cast: do not raise if result in bad return type in lambda expression (IDEA-138927) 2015-04-08 21:14:33 +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 cfe4917c8b custom nullable annotation on an element should win over package-default not-null (IDEA-138894) 2015-04-08 18:13:16 +02:00
peter 8bf079ca59 prefer instanceofed variants in java completion (IDEA-138937) 2015-04-08 18:13:15 +02:00
peter 4ec8011316 relax "!null" contract checking to accept exceptions thrown (IDEA-133488) 2015-04-08 18:13:15 +02:00
Anna Kozlova 765f6faa19 SOE on infinite types with super wildcards (IDEA-138880; IDEA-77600) 2015-04-08 13:12:21 +02:00
Anna Kozlova b62f3b746c change return type fix: ensure parameter types are untouched (IDEA-138748) 2015-04-08 12:06:01 +02:00
Anna Kozlova 45c5c2163f extract functional parameter: ensure final inside anonymous, no additional qualifier (IDEA-138895) 2015-04-08 12:06:00 +02:00
Anna Kozlova e1e48eb1e8 replace duplicates: process chained constructors (IDEA-138745) 2015-04-08 12:05:59 +02:00
Anna Kozlova 822934d37a new overload resolution: do not accept primitive type as target of second search (IDEA-138839) 2015-04-08 12:05:58 +02:00
peter 2018eb9176 java: always return not-null when correcting types based on resolve scope 2015-04-07 18:23:00 +02:00
Anna Kozlova e496c058f8 search for tests task: simplified start/finish 2015-04-07 11:25:46 +02:00
Anna Kozlova dfcebe315b new inference: check bounds problems for all variables acceptable in current context (IDEA-138407); reject complicated dependencies (see JDK-8039299) 2015-04-02 21:19:54 +02:00
Anna Kozlova 4958470009 redundant suppressions: ignore global custom inspections (IDEA-138622) 2015-04-02 21:19:53 +02:00
Anna Kozlova 80e3760c69 redundant cast: ensure lambda return statements are not mixed with those from containing method (IDEA-138724) 2015-04-02 18:06:41 +02:00
Anna Kozlova 3b40026df9 testdata for IDEA-138696 2015-04-02 18:06:40 +02:00
Anna Kozlova c08649b355 new overload resolution: avoid second conflict resolution for the same conflicts, e.g. because resulted array would be available inside guard of ResolveCache (IDEA-138596) 2015-04-02 18:06:39 +02:00
Dmitry Avdeev 306692ff9e IDEA-138603 "From File Template" is not always available 2015-04-02 17:35:38 +03:00
Dmitry Batkovich 4baf8a9561 IDEA-138456 inspection to replace collections.addAll() with properly parametrized constructor. 2015-04-02 17:12:41 +03: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
peter 7683276ed8 findClass should correctly sort compiled classes located inside project content (IDEA-101806) 2015-04-01 13:34:56 +02:00
Alexey Kudravtsev b6847d3074 notnull 2015-04-01 12:31:05 +03:00
peter 722efece9b determine expression types using their resolve scope (IDEA-58042) 2015-03-31 14:52:04 +02: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 00238aefdc bombed 2015-03-30 14:27:21 +02:00
Dmitry Batrak 3a30a57687 IDEA-138306 Moving code through collapsed code breaks it 2015-03-27 13:47:36 +03:00
Anna Kozlova 2e736c18fe surround with try-catch: expand expression lambda to perform operation (IDEA-134500) 2015-03-26 12:07:12 +01:00
Anna Kozlova cb913612ba move: prepare class and file move adjusting class to java file (IDEA-137672) 2015-03-25 20:05:00 +01:00
Anna Kozlova 8184c43d76 external javadoc: include the whole page if class start section is missed (IDEA-132323) 2015-03-25 20:04:58 +01:00
Anna Kozlova 21fd57c89f expected variable type: make type denotable (IDEA-136958) 2015-03-25 20:04:56 +01:00
Anna Kozlova 6ae3daeef1 anonymous -> lambda: do not reject cases when return type can't be correctly inferred without target type constraints (IDEA-137390) 2015-03-24 21:04:06 +01:00
Anna Kozlova 4b3cebcf53 reformat on replace type args with <> (IDEA-138079) 2015-03-24 21:04:04 +01:00
peter 1a014a13e8 IDEA-138061 Prefer "return" completion suggestion before the last expression in a code block 2015-03-24 16:32:25 +01:00
peter 409070a176 IDEA-138071 Completion shouldn't show private symbols from compiled code 2015-03-24 16:32:25 +01:00
Anna Kozlova d18781b365 make method static: warn about broken method references if filed or class need to be passed; NPE (EA-66661 - NPE: MakeMethodStaticProcessor.changeExternalUsage) 2015-03-23 20:33:24 +01:00
Anna Kozlova 8a56a94ff1 add assert != null fix should be disabled on the class level (EA-66814 - assert: AddAssertStatementFix.applyFix) 2015-03-23 20:33:20 +01:00
Anna Kozlova 5ed4840dad make capture<? super Object> == Object 2015-03-23 20:33:19 +01:00
peter 7e8644b3a2 complete statement should add body to private interface methods (jdk9) 2015-03-23 18:57:37 +01:00
peter eab2402c47 dfa: support non-initialized final field escaping in constructors (IDEA-137154) 2015-03-23 18:57:36 +01:00
peter 4fc7acb38f IDEA-137719 Complete current statement doesn't insert a method body for static methods in interfaces, creates broken code 2015-03-23 18:57:36 +01:00
Yaroslav Lepenkin 8e9aff7916 Corrected parameters order, which caused extra spaces formatting when performed on selected fragment. Formatter depending on the result of FormatterUtil.isFormatterCalledExplicitly decides whether to cut trailing spaces or not, and command name mismatch eliminated range correction. Test added. 2015-03-23 20:34:19 +03:00
Anna Kozlova 4d079801bf incompatible types quickfix: reregister for variable initializer (IDEA-138023) 2015-03-23 17:57:15 +01:00
Anna Kozlova 48db714b67 jdk9: support private methods in interfaces (IDEA-137918) 2015-03-23 17:57:12 +01:00
Alexey Kudravtsev c1456b60cc restore 'find in library source' feature 2015-03-23 14:06:01 +03:00
Anna Kozlova 4597494195 import of inner classes through should get raw substitutor from outr class if applicable (IDEA-121166) 2015-03-20 21:09:04 +01:00
Eugene Zhuravlev 0504e11398 method refs and invokeDynamic bytecode parsing to register corresponding dependencies correctly (IDEA-137568) 2015-03-20 21:02:33 +01:00