Commit Graph
287 Commits
Author SHA1 Message Date
anna 9bd778fc21 test data for IDEA-74581 2011-09-26 12:45:06 +02:00
anna 18b6fe1bd4 check method signatures equality by erasure; do not check method names for constructors.
note that erasure of type parameter is erasure of its left bound (jls), so erasure (T extends A & B) != erasure (T extends B & A)
e.g. IDEA-74409
2011-09-23 08:00:09 +02:00
Alexey Kudravtsev bc00768fd6 IDEA-67098 + com.intellij.codeInsight.daemon.DaemonAnalyzerTestCase.testFile fluent interface 2011-09-20 18:39:10 +04:00
anna 263680df94 use type parameter bound when normalize super wildcard by position (IDEA-73980) 2011-09-14 19:36:26 +02:00
anna daa3c0ff05 disable rename as wrong ref on invalid access refs; though enable quick fix there 2011-09-14 19:36:25 +02:00
anna b9f48882af create field from parameter: when field would be final and parameter is NotNull then the field should be also @NotNull (IDEA-74136) 2011-09-13 20:23:49 +02:00
Bas Leijdekkers 8ff3af2a35 Simplification of "@NotNull/@Nullable problems" inspection settings 2011-09-09 15:53:55 +02:00
anna 32e09dafb3 fix delegation to abstract method (EA-29618 - NPE: DelegateWithDefaultParamValueIntentionAction.invoke) 2011-09-09 10:54:30 +02:00
anna b294192ac2 diamonds: should check raw types when error occurs before inference is even started (IDEA-74053) 2011-09-08 19:27:51 +02:00
anna 8fef5fc92d replace with diamonds should always check if inferred type agrees with expected type (IDEA-73944) 2011-09-07 12:18:58 +02:00
anna ca2c3bc539 SOE (IDEA-69752 ) 2011-09-06 11:54:45 +02:00
anna c09410b3b5 @Override quick fixes: suggest to pull method up; pull members up, extract interface/superclass (IDEA-55720 ) 2011-09-06 11:54:45 +02:00
Alexey Kudravtsev ee1a3cb532 IDEA-72851 2011-09-02 13:50:55 +04:00
anna a8172fdc67 replace inaccessible field with getter/setter (IDEA-22752) 2011-09-01 16:04:33 +02:00
anna cd43fc0173 change new type & collapse generics for java 7 (IDEA-73517) 2011-09-01 16:04:31 +02:00
anna ab1d2768b6 diamonds: do not capture wildcard on inference (IDEA-73689 ) 2011-08-31 16:53:36 +02:00
anna 818ef93d29 rename constructor matching class (IDEA-22812 ) 2011-08-26 19:01:05 +02:00
anna b07cacac30 expect errors on importing from default packet 2011-08-26 18:14:26 +02:00
anna 9bc5f34ff8 process c-style arrays in setInitializer (IDEA-20538 ) 2011-08-26 17:57:19 +02:00
anna ef6071d1ca test data fixed to exclude imports for default package 2011-08-26 15:58:34 +02:00
anna 15b1d535cd add single static import on inaccessible element - retrieve accessible or do not suggest intention (IDEA-18050 ) 2011-08-26 15:58:33 +02:00
anna df6d79ce8a add single static import on type elements, e.g. inside annotations, type elements (IDEA-22130) 2011-08-26 13:34:31 +02:00
anna 6794da37dd add single static import: check method base class beforehand (IDEA-12607 ) 2011-08-26 13:34:30 +02:00
anna c88166026e forbid default package classes in imports (IDEA-18695) 2011-08-26 13:34:27 +02:00
anna 0f5615356b provide also create annotation from usage (IDEA-19746 ) 2011-08-25 19:26:03 +02:00
anna 008326cc84 forbid cast primitive to type parameter (IDEA-52484; IDEA-23260) 2011-08-25 19:26:02 +02:00
anna 6f31251be4 disable add single static import when on demand exists (IDEA-62321) 2011-08-24 12:06:00 +02:00
anna 2787a3a5f4 add warning on switch by inaccessible enums (IDEA-65961 ) 2011-08-24 12:05:55 +02:00
anna c0a11624a2 insert instance of|cast when condition contains intersection with instanceof (IDEA-64776) 2011-08-23 12:57:59 +02:00
anna 40dd8914ae change parameter class: allow for constructor calls (IDEA-64657); for variable assignments (IDEA-71592 ) 2011-08-22 21:31:12 +02:00
anna 1615e8f030 create class from usage: types in wildcard bounds accepted (IDEA-50310 ) 2011-08-22 21:31:11 +02:00
anna 9d4f40f5f5 additional test for (IDEA-65857; IDEA-62515 ) 2011-08-22 21:31:10 +02:00
anna 613f9fddae space (IDEA-67070) 2011-08-22 17:56:05 +02:00
anna f087cd8c25 generate private enum constructor everywhere (IDEA-69128 ) 2011-08-22 17:56:04 +02:00
anna e23fd301ad forbid default package classes in static imports (IDEA-26971 ) 2011-08-22 17:56:03 +02:00
anna c71a873d1d i18n && wording (IDEA-72585 ) 2011-08-21 17:39:34 +02:00
anna 6aba03f21c expand static import to class qualification (IDEA-68853) 2011-08-19 21:11:35 +02:00
anna a02dca8eca allow to create field inside static inner class when outer class has the field with the same name (IDEA-71841) 2011-08-19 21:10:10 +02:00
anna 1d34a95b0f rename: use simple rename when reference is resolved (IDEA-72876) 2011-08-05 12:27:57 +04:00
anna b973627301 change method signature from usage text tweaks 2011-08-03 22:02:13 +04:00
Alexey Kudravtsev 4dcde9bbfa IDEA-71599 2011-08-03 15:19:29 +04:00
anna 179f2a0ded optimize imports: typo 2011-08-01 17:04:42 +04:00
anna aae0232446 like unused symbol: use psi element to determine profile to get severity from (IDEA-72411)
like unused symbol: can be error in editor
2011-07-26 13:37:16 +04:00
anna e931ef7e6e move suppress/settings intention down (IDEA-72320 ) 2011-07-26 11:53:39 +04:00
anna 5b3aff7eec change signature from usage: try new description (IDEA-50193) 2011-07-26 10:56:49 +04:00
anna d8613c2ee1 diamonds: no diamonds with anonymous classes (IDEA-72391) 2011-07-26 10:56:48 +04:00
anna afcf43129a diamonds: no diamonds with anonymous classes (IDEA-72391) 2011-07-26 10:02:17 +04:00
anna 2e7f8bf8bb class types are not provably distinct when they belong to one hierarchy 2011-07-12 19:12:51 +04:00
anna 49d4914f57 unchecked casts: ignore extends wildcards with the same bound as corresponding type parameter bound (IDEA-71629) 2011-07-12 17:43:36 +04:00
Alexey Kudravtsev 0293b1da72 gen L op always 2011-06-27 13:10:50 +04:00