Commit Graph

61 Commits

Author SHA1 Message Date
anna e1ac3c6f0a suggest new param name based on type instead of other params 2010-12-23 18:01:52 +03:00
anna 9010b36338 invert if: do not skip returns as they may contain valuable info (IDEA-61892) 2010-12-22 22:25:20 +03:00
anna 4b793a4f9f unbound wildcard is not provably distinct from any array type (IDEA-63447) 2010-12-22 17:13:51 +03:00
anna a167792cf4 do not migrate from type to self 2010-12-16 19:16:28 +03:00
anna 64e3456f20 bring into scope: multiple vars in one declaration should be normalized (IDEA-62848 ) 2010-12-13 15:56:43 +03:00
Alexey Kudravtsev 458ae21dcb test for IDEA-62529 2010-12-08 16:13:24 +03:00
anna 19ccd895cb super wildcard processing (IDEA-62529 ) 2010-12-08 12:40:10 +03:00
anna e1164f1314 private inner class can't be used in top class signature ( IDEA-57751) 2010-11-19 12:07:05 +03:00
anna f79288c1eb start live template if enum constant needs params (IDEA-19205) 2010-11-15 16:54:57 +03:00
Alexey Kudravtsev e55eb679fd IDEA-57619 2010-11-13 12:16:35 +03:00
anna edc0799f69 create method from usage: create method type params if needed (IDEA-55505) 2010-11-12 19:43:54 +03:00
anna 92b0210e9f do not mix PsiImmediateClassType and PsiReferenceClassType: presentable name for ref type is calc based on reference name only (IDEA-56135) 2010-11-10 19:02:24 +03:00
Alexey Kudravtsev 4f5f9f485a preserve highlights on enter 2010-11-09 12:51:46 +03:00
anna 31cb911e3f generics: raw type should not be equal to param type (IDEA-60170) 2010-10-29 15:02:02 +04:00
Alexey Kudravtsev 095774c01f autoimport not completed generic reference of the kind arraylist<> 2010-10-28 13:12:24 +04:00
anna 79bb22d0fa create static inner class if new expression is inside this/super constructor call (IDEA-45530) 2010-10-28 11:50:35 +04:00
anna 7ae3e5f625 expressions presentation tweaks, new expression type changes should not delete anonymous class (IDEA-58290) 2010-10-28 11:50:35 +04:00
anna 72f680902b access object class should be calc corresponding to ref qualifier (IDEA-58377) 2010-10-26 12:19:38 +04:00
Alexey Kudravtsev 221d0c527e Application.assertWriteAccess does really assert in tests,
tests now run in EDT
2010-10-25 15:04:08 +04:00
anna 946b3a3f63 implement abstract method; use existing implementation for enum constants (IDEA-59807) 2010-10-22 21:52:19 +04:00
Alexey Kudravtsev e2f12d5e29 dynamically add dead code extension 2010-10-08 10:13:27 +04:00
anna cd75690d57 change signature from usage fix: varargs processing (IDEA-58449) 2010-10-05 19:55:42 +04:00
anna d065029b5c unimplement: do not delete methods which override super methods (IDEA-58918) 2010-09-28 21:17:13 +04:00
anna 48b40d0c03 type casts: check type parameter first (IDEA-58454) 2010-09-09 13:09:37 +04:00
anna 3942c3f88d create field from parameter: array types (IDEA-58140) 2010-08-31 15:04:06 +04:00
anna 0bb2f844f2 remove redundant else: check all then clauses (IDEA-58136) 2010-08-30 20:52:53 +04:00
anna db9fc5a09b assert statement: description should be of string type (IDEA-58067) 2010-08-27 20:19:49 +04:00
anna ab7796431a show methods the same if type parameter bounds were mixed 2010-08-26 12:03:53 +04:00
anna 60bdcacc70 check whether wildcard bound or not (IDEA-57343) 2010-08-24 17:33:26 +04:00
anna 20ed44ab80 unbounded wildcard cant be proved to be different: test data 2010-08-24 13:26:08 +04:00
Alexey Kudravtsev 48245a1a3a duplicate annotations 2010-08-23 14:29:03 +04:00
anna 35c566eb50 test data fixed according to new name suggestions 2010-08-20 13:19:58 +04:00
anna 12ef70ac18 duplicated annotations 2010-08-20 13:19:58 +04:00
anna 9de47db6da check if wildcard capture is possible; check array types inheritance ( IDEA-57261;IDEA-57262;IDEA-57266;IDEA-57288) 2010-08-19 11:47:00 +04:00
anna 42fc89c734 check type within its bound: raw types (IDEA-57288) 2010-08-19 11:46:58 +04:00
anna e70fae642f check type within its bound: wildcards 2010-08-12 21:01:15 +04:00
anna 8039cffacc JLS 5.5: cast conversion implemented for generics types (inspired by IDEA-57342 ) 2010-08-12 12:39:50 +04:00
Roman Shevchenko 193b44dca1 Empty import list placement and comment binding (test data fixed) 2010-08-10 17:44:32 +04:00
Roman Shevchenko 9dd2505489 Empty import list placement and comment binding (test data fixed) 2010-08-10 13:49:16 +04:00
anna a9bb49eb29 diamonds: 1.7 type inference for New Expressions 2010-08-05 15:54:23 +04:00
anna 5c430dd73a create getter from usage: return type fixed when field with name already exist 2010-07-26 11:56:35 +04:00
anna 3f399561c2 good code is red: upper bound should move up if next parameter requires (IDEA-56696) 2010-07-23 13:57:13 +04:00
anna 232cc27726 type inference: super bounds promotion corrected (IDEA-55718) 2010-07-19 17:10:52 +04:00
anna 35cac19e2a wrap with expression: extended to use parseXXX; varargs support (IDEA-56469) 2010-07-15 10:44:06 +04:00
irengrig fe72dbec0d Merge branch 'master' of git.labs.intellij.net:idea/community 2010-07-14 14:06:17 +04:00
anna f0fcf606f5 create param from field in case of chained calls 2010-07-12 16:46:30 +04:00
anna a9c9e7dc3b ignore code marked as @Generated (IDEA-55272) 2010-07-07 16:21:11 +04:00
unknown f25abb008c create field from parameter: all erase unavailable type params (IDEA-56163) 2010-07-01 13:37:08 +04:00
anna 7dd54f8ace replace all inheritors with static imports: minimize touched files count 2010-06-28 18:58:39 +04:00
anna 11d811d3be replace all inheritors with static imports 2010-06-28 18:58:36 +04:00