Commit Graph
4527 Commits
Author SHA1 Message Date
Anna Kozlova a73d1238ff testdata for IDEA-147511 2015-11-06 16:21:29 +01:00
peter 96431dd854 IDEA-147454 Smart completion add parentheses to class declaration in throws statement 2015-11-06 16:07:41 +01:00
Dmitry Batkovich e8805cb2cc "initialize variable" & "initialize in constructor" suggests default constructors (with inheritor's if collection) (IDEA-145431) 2015-11-06 15:56:50 +03:00
Anna Kozlova 6e853bf571 new inference: stop at first common supertypes pair during incorporation of upper bounds (IDEA-147393) 2015-11-05 15:24:18 +01:00
peter 4cac3b6b78 IDEA-147313 Adding @NotNull in front of a method parameter and finishing lookup with Space inserts 2 spaces 2015-11-04 16:51:15 +01:00
Anna Kozlova 94e3eb2c04 compound filter from filters chain (IDEA-146147) 2015-11-04 15:52:15 +01:00
Anna Kozlova ae4b083aec split compound filter into filters chain (IDEA-146147) 2015-11-04 15:52:15 +01:00
Anna Kozlova 2d21b7777e method reference: don't start containing class parameter type inference for receiver-reference; corresponding substitutor should be already known (IDEA-146604; IDEA-147223) 2015-11-03 17:10:58 +01:00
Yaroslav Lepenkin 463239b0b1 Allow to detect indent sizes only for files where 80 percent of lines are indented with spaces (WI-25986) 2015-11-03 16:52:49 +03:00
Anna Kozlova d7f768366b fix testdata 2015-11-02 15:29:42 +01:00
Anna Kozlova 41916174b6 return Object if denotable type is needed for functional expression (e.g. lambda expression) type
EA-75552 - IOE: PsiElementFactoryImpl.createField
2015-11-02 15:29:42 +01:00
Anna Kozlova 62cc281a3d disable lambda -> methref for qualified new expressions (IDEA-147054) 2015-10-29 19:40:11 +01:00
Anna Kozlova 2f4fddec5a introduce constant: add constant to destination class (IDEA-146787) 2015-10-29 19:40:10 +01:00
Anna Kozlova 543e5f3cdf remove this qualifier on anonym -> method ref fix 2015-10-28 19:45:32 +01:00
Dmitry Batkovich 9fa1a082f3 old guava inspection removed 2015-10-28 20:00:33 +03:00
Dmitry Batkovich 713a1289c7 IDEA-146770 Suggest Math.toIntExact to convert long to int 2015-10-28 19:55:14 +03:00
peter 29b95875b9 don't instrument bridge methods for @NotNull (IDEA-146977) 2015-10-28 17:03:44 +01:00
Anna Kozlova b12b47c2ea ignore most specific check if parameter count were not matched at all
EA-75076 - AIOOBE: InferenceSession.isMoreSpecific
2015-10-28 16:05:07 +01:00
Anna Kozlova 5d98d49ecf ensure denotable types 2015-10-28 16:05:05 +01:00
Anna Kozlova 1420ac66b8 testdata for EA-53634 - assert: PsiWildcardType.createSuper 2015-10-28 16:05:03 +01:00
Anna Kozlova f894921d1c don't warn about unimplemented Iterator.remove for type parameters 2015-10-28 16:05:02 +01:00
peter 27271e9979 dfa: IDEA-146950 "<" expr is always false but "<=" is not 2015-10-28 14:02:36 +01:00
Alexey Kudravtsev f9547c2ece do not suggest org.jruby.util.ShellLauncher.ChannelPumper when find usages of "Thread.start" 2015-10-28 14:55:39 +03:00
Anna Kozlova 5c8c069685 make static: ensure @Override is cleared from static method (IDEA-146872) 2015-10-27 19:35:21 +01:00
Anna Kozlova e27c654b20 silly assignment: ignore non-trivial casts involving primitives (IDEA-146830) 2015-10-27 19:35:20 +01:00
Anna Kozlova 40db0beb8d make method static: fix delegate parameter place (IDEA-146900) 2015-10-27 19:35:18 +01:00
Anna Kozlova 583b5af087 introduce variable: remove reference to created variable if declaration was inserted inside loop body (IDEA-146842) 2015-10-27 19:35:17 +01:00
Anna Kozlova dfb190bfe0 empty methods hierarchy: warn about deepest methods, top empty could be of use (IDEA-146409) 2015-10-27 10:04:09 +01:00
Anna Kozlova 0deaf6d6a5 recursive substitutors: additional constraints substitution should not repeat already performed substitution with site substitutor (IDEA-146841) 2015-10-26 18:56:03 +01:00
Anna Kozlova 622473b5f1 EA-53668 - PIEAE: PsiUtilCore.ensureValid 2015-10-26 18:56:01 +01:00
peter 488ef11fd4 dfa: support (i)++ (IDEA-146805) 2015-10-26 16:20:47 +01:00
Anna Kozlova 47c3c2bbc1 null types (IDEA-146740) 2015-10-26 13:50:02 +01:00
peter ba4cd74056 for java completion, choose method with most specific return type among same-signature candidates (IDEA-136174) 2015-10-26 12:39:50 +01:00
peter 1858564abc IDEA-137013 InstanceOf checking leads to appearing redundant completion item while smart double-completion 2015-10-26 12:32:21 +01:00
peter a14ad4d037 IDEA-123870 Completion does not suggest expected methods after instanceof 2015-10-26 12:32:20 +01:00
peter 1c82045b85 IDEA-95289 Completion for 'break' in labeled element 2015-10-24 23:42:28 +02:00
peter 3ed90b5c22 IDEA-130264 Completion for super methods of containing class 2015-10-24 23:42:27 +02:00
peter 6694afe5b8 prefer completion variants that have a member with the name that's to the right of the caret (IDEA-114115) 2015-10-24 23:42:27 +02:00
Alexey Kudravtsev fd339313dc make temporary names more nice-looking, remove project files cached in VFS from the previous tests 2015-10-22 14:05:46 +03:00
Anna Kozlova ec5f440e09 subtyping constraint: accept array types if left type is assignable from array, e.g Serializable (IDEA-146592) 2015-10-20 20:58:49 +02:00
peter 5d31a4c147 IDEA-146512 Code completion adds unnecessary type parameter 2015-10-17 12:36:37 +02:00
Anna Kozlova ffa42cda83 cls: ensure canonical text don't miss whitespaces around wildcards (IDEA-146452) 2015-10-16 16:44:27 +02:00
Yaroslav Lepenkin 6386345f62 Moved formatter tests from idea-tests to java-tests 2015-10-16 11:23:30 +03:00
Dmitry Batrak d333668b67 IDEA-145725 Quick documentation shows the wrong Javadoc for package-info.java 2015-10-15 19:38:43 +03:00
Anna Kozlova bd72fa775d generics dependency on raw type (IDEA-146395) 2015-10-15 18:21:25 +02:00
Anna Kozlova 437c3388a9 analyze dependencies: ensure cls elements are converted so usages are shown 2015-10-15 18:21:23 +02:00
Anna Kozlova e32dfdfa8a UnsupportedOperationException 2015-10-15 15:02:50 +02:00
Anna Kozlova d3c9ae35eb EA-65910 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText 2015-10-14 17:05:39 +02:00
Anna Kozlova 4916734a24 reifiable type check fixed for local classes; instanceof check to use the same algorithm (IDEA-146352; IDEA-146351) 2015-10-14 17:05:36 +02:00
Anna Kozlova cc02620e6d extract method: don't include predefined 0 into exit points when try/finally is processed (IDEA-146332) 2015-10-14 11:12:33 +02:00