Commit Graph
2551 Commits
Author SHA1 Message Date
Anna Kozlova 183c7cd0b8 fix testdata 2013-08-20 15:15:13 +04:00
Anna Kozlova 6e9b26f3b1 method refs IDEA-112323 2013-08-20 13:32:04 +04:00
Anna Kozlova 507249a31b distinguish wildcards with raw/generic bounds (IDEA-97276) 2013-08-17 16:49:15 +04:00
Anna Kozlova bb1cea719a simplified isAssignable check 2013-08-16 20:54:06 +04:00
Anna Kozlova a6a1737ba1 revert fix for IDEA-110947 (IDEA-112122) 2013-08-16 11:32:39 +04:00
Anna Kozlova e1e583734a TypeParameter inferred types check unification 2013-08-16 11:28:51 +04:00
Anna Kozlova e006534d08 moreSpecific cleanup 2013-08-15 17:38:03 +04:00
Anna Kozlova 936228a8f7 preserve empty packages when move/rename package as directory (IDEA-111902) 2013-08-15 13:50:01 +04:00
Anna Kozlova 2a5270d072 rename: show conflict if renamed method erased signature would conflict with existing method (IDEA-111875) 2013-08-15 13:49:59 +04:00
Anna Kozlova 397c637699 testdata for IDEA-57633 2013-08-15 13:49:58 +04:00
Anna Kozlova 230c6fd84b moreSpecific: use site info to check assignability, prefer concrete to abstract methods (IDEA-57569) 2013-08-15 13:49:57 +04:00
Anna Kozlova 3f49bd2d73 moreSpecific: check erased signatures when comparing interface methods (IDEA-67519) 2013-08-15 13:49:51 +04:00
Anna Kozlova 215cfff69c prefer generics to raw when more specific was not detected (IDEA-67576) 2013-08-15 13:49:50 +04:00
Anna Kozlova c5e3693ce2 testdata for IDEA-67836 2013-08-15 13:49:49 +04:00
Anna Kozlova 4e7a81fd93 testdata for IDEA-67843 2013-08-15 13:49:48 +04:00
Anna Kozlova 47220fd160 moreSpecific simplification, include complete check for inferred types in MethodCandidateInfo.isApplicable 2013-08-15 13:49:47 +04:00
Anna Kozlova 3069f9ae10 IDEA-111735 Change Signature refactoring should not insert generics types into javadoc 2013-08-09 17:36:45 +02:00
Anna Kozlova 533073479b generics: allow foreign interface usage in class type arguments 2013-08-09 14:21:28 +02:00
Anna Kozlova b685972a85 change signature: highest visibility should not return PUBLIC all at once (IDEA-111739) 2013-08-09 14:21:27 +02:00
Anna Kozlova 7cf4be2861 provide enum constructor package local modifier according to spec examples (IDEA-111785) 2013-08-09 14:21:26 +02:00
Anna Kozlova 5ca0622cf4 IDEA-111715: implements for enum constant without class initializer 2013-08-09 14:21:25 +02:00
anna e777a6d77d ambiguity: forgotten check on class type when check for type args (IDEA-67865) 2013-08-07 22:02:55 +02:00
peter 046b657318 IDEA-111456 An inspection to check method contract well-formedness 2013-08-07 20:25:51 +02:00
Roman Shevchenko cfc55bcb41 java: single underscore variables highlighting for Java 8 2013-08-07 15:07:21 +02:00
anna 75b37b8dbf testdata for IDEA-57312 2013-08-06 20:48:33 +02:00
anna c8cc567c52 do not open capture for upper level wildcards with equals constraint (IDEA-57439) 2013-08-06 20:48:32 +02:00
anna ad657339ff continue least upper bound calculation till second nested layer (IDEA-67676) 2013-08-06 20:48:31 +02:00
anna 6d3989e21d IDEA-111613 Bad code is green: IDEA doesn't show 'Unhandled exception' error when a method with parametrized 'throws' section is used with wildcard type argument 2013-08-06 13:49:10 +02:00
anna 1bd39a6322 recursive lambda checks for functional interfaces 2013-08-06 13:49:09 +02:00
Roman Shevchenko b993b94f0e IDEA-111523 (the intention is only supposed to work inside regular assignment) 2013-08-05 21:47:23 +02:00
anna 50ac56862b fix testdata 2013-08-05 21:41:29 +02:00
anna 867d5f227d least upper bound for primitive arrays fixed (IDEA-111420) 2013-08-05 18:16:25 +02:00
anna 30dce02dfc primitive/class conversions are available since language level 1.5 (IDEA-111451) 2013-08-05 18:16:24 +02:00
anna 5934fd50c6 redundant cast: special checks for throwable cases (IDEA-111511) 2013-08-05 18:16:23 +02:00
anna 1bd183256e redundant cast: ignore more specific cast types in foreach statements when opType is enough to be used in foreach expr 2013-08-05 18:16:21 +02:00
anna 5c737f48bd redundant cast: always report casts in instanceOf checks for class types; exclude primitive types 2013-08-05 18:16:18 +02:00
peter 012d1147d4 dfa inspection CCE analyzer should check erasures only 2013-08-05 16:39:28 +02:00
peter e8ee43cdee disable constant value warnings in complex assignments (IDEA-111478) 2013-08-05 13:44:51 +02:00
Alexey Kudravtsev e4c59feb9d more optimisations 2013-08-05 14:47:32 +04:00
peter ee51eccbf3 dfa should box primitive values coerced into Object (IDEA-111445) 2013-08-02 15:55:03 +02:00
peter 0cfc3b5f9e IDEA-111144 'Generate Getter' should add @Override if needed 2013-08-01 16:57:08 +02:00
peter 83a2d9cb96 IDEA-111362 Generate constructor removes "m" from variable name 2013-08-01 16:57:08 +02:00
peter 9329331182 IDEA-104754 Good code yellow: Unboxing 2013-07-31 17:49:44 +02:00
Anna Kozlova d28dd0f6ca testdata fixed 2013-07-29 20:08:03 +02:00
peter 96d78ee5e8 dfa: suggest to replace variable with int constant (IDEA-111178) 2013-07-29 19:51:56 +02:00
anna 07937a57e5 testdata for IDEA-57289 2013-07-26 20:10:45 +02:00
anna 562a03a913 testdata for IDEA-107440 2013-07-26 19:11:14 +02:00
anna 6cee174e4e check all type parameters bounds (IDEA-109556) 2013-07-26 19:11:13 +02:00
anna b55834ea6e moreSpecific conflicts resolve (IDEA-111085) 2013-07-26 19:11:13 +02:00
anna b6884eab9f capture wildcards in type casts (IDEA-101862; IDEA-97703) 2013-07-25 18:31:29 +02:00