Commit Graph

20351 Commits

Author SHA1 Message Date
Pavel V. Talanov ca3096a948 Prohibit inner classes in objects
Using inner classes in objects makes little sense since objects have single static instance
2015-02-20 14:47:37 +03:00
Pavel V. Talanov 460c1e328f Improve error message for inner class in trait 2015-02-20 14:47:36 +03:00
Pavel V. Talanov 2053da91dd Fix EXPRESSION_TYPE target for QualifierReceiver
Affected completion from objects in some cases
2015-02-20 14:47:36 +03:00
Michael Bogdanov 37006ad566 Annotate additional files through bytecode toolwindow analysis 2015-02-20 10:16:22 +03:00
Michael Nedzelsky ab29c59210 CompileTimeConstantUtils.isArrayCall: use full fqName instead of argument of Intrinsic annotation 2015-02-20 02:33:38 +03:00
Michael Nedzelsky 608b603f58 serialization of compile time constant: add support for expressions <const>: <type> 2015-02-20 02:33:35 +03:00
Michael Nedzelsky 5889112a94 add test for compile time constants without expicit type 2015-02-20 02:33:32 +03:00
Michael Nedzelsky fac2e38054 Do not serizalize null as compile time constant 2015-02-20 02:33:30 +03:00
Michael Nedzelsky ead3a1dc65 fix getting compile time initializer before computing deferred type 2015-02-20 02:33:27 +03:00
Dmitry Jemerov a030585566 EA-64906 - NPE: KdocPackage$KDocReference$c.getParamDescriptors 2015-02-19 14:01:00 +01:00
Dmitry Jemerov ce4b2db8f6 vendor and homepage 2015-02-19 15:35:46 +03:00
Dmitry Jemerov 8130b98862 correct vendor and homepage in plugin.xml 2015-02-19 15:35:46 +03:00
Valentin Kipyatkov a0b96231d3 Fixed assertion in internal action 2015-02-19 14:44:38 +03:00
Svetlana Isakova 204e9a0c34 KT-6751 References to type arguments of a type argument not resolved when wrong number of them
#KT-6751 Fixed
2015-02-19 14:43:18 +03:00
Nikolay Krasko f1774bd6fb Fixed test data according to fixed bug in IDEA JPS. 2015-02-19 14:36:23 +03:00
Valentin Kipyatkov c9a05aac0f Minor changes after review 2015-02-19 14:11:16 +03:00
Valentin Kipyatkov 67027e2a2d Minor 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov 660ac8d63c Fixed bug 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov a137503ee9 More sophisticated import setting supported: *-import when more than N names used (default set to 5) 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov c58536f1d9 Optimize imports: fixed bug with references in class declaration header 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov 84027124db Made code more clear 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov 5c904b6a94 Fixed keeping of folded state for imports on optimize 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov 480ddcb20e Minor 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov d60145d3e8 Optimize imports: references via aliases are treated correctly 2015-02-19 11:07:03 +03:00
Valentin Kipyatkov 8c034d4ac7 New optimize imports algorithm supports *-imports code style 2015-02-19 11:07:02 +03:00
Valentin Kipyatkov 2e3ed6b66f Refactored AbstractOptimizeImportsTest to inherit from AbstractImportsTest 2015-02-19 11:07:02 +03:00
Valentin Kipyatkov 03f7c265d7 Initial implementation of new optimize imports algorithm 2015-02-19 11:07:02 +03:00
Valentin Kipyatkov 63182a53c6 Fixed getFileTopLevelScope implementation 2015-02-19 11:07:02 +03:00
Valentin Kipyatkov 0a363fc371 Import is placed in some specific order on adding 2015-02-19 11:07:02 +03:00
Valentin Kipyatkov 371e0baed1 Dropped methods not used anymore 2015-02-19 11:07:02 +03:00
Valentin Kipyatkov 7ad1933695 Dropped obsolete tests 2015-02-19 11:07:01 +03:00
Valentin Kipyatkov 20cf100714 Shorten references inserts imports for global functions and properties too 2015-02-19 11:07:01 +03:00
Michael Bogdanov 664e2781e8 Enable inline in bytecode toolwindow by default 2015-02-19 10:32:04 +03:00
Michael Bogdanov 758c147835 Analyze inlined declarations in bytecode toolwindow 2015-02-19 10:32:00 +03:00
Pavel V. Talanov 5c9554e703 Minor: remove redundant class object 2015-02-18 19:34:02 +03:00
Pavel V. Talanov d6a942a574 Remove all deprecated OBJECT$ usages from project code 2015-02-18 19:33:56 +03:00
Evgeny Gerashchenko 48a6fb37f9 Worked around private method. There should be API available, anyway. 2015-02-18 18:53:37 +03:00
Alexey Sedunov f1b3bb6ae7 Join Lines: Fix test data since IDEA now converts single-line comments to block ones when joining lines 2015-02-18 18:53:36 +03:00
Zalim Bashorov 2a593fc437 IDEA: fixed breakpoints in JavaScript debugger. 2015-02-18 18:53:34 +03:00
Nikolay Krasko fd616a3c8d Update to IDEA 140.2493.5 2015-02-18 18:53:21 +03:00
Evgeny Gerashchenko 460a77275a Added tests with conversion between Java and Kotlin and moving class. 2015-02-18 18:51:59 +03:00
Nikolay Krasko 07d58b55eb Synchronize KotlinJavaPsiFacade with JavaPsiFacadeImpl 2015-02-18 18:51:58 +03:00
Evgeny Gerashchenko f870388962 Fixed compilation error for IDEA 14.1+ (140 branch) 2015-02-18 18:51:58 +03:00
Alexander Udalov 042230fefc Using factory method instead of deprecated constructor. 2015-02-18 18:51:57 +03:00
Nikolay Krasko 45a3b47664 Fix compilation once again 2015-02-18 18:51:56 +03:00
Nikolay Krasko 440cc20ed9 Add expected action 2015-02-18 18:51:56 +03:00
Nikolay Krasko 20b7a55bf2 Add overrides in order to fix compilation errors 2015-02-18 18:51:55 +03:00
Nikolay Krasko a49a206de3 Get containing file from original method 2015-02-18 18:51:54 +03:00
Nikolay Krasko 3ec591a6d6 Manually register extension points 2015-02-18 18:51:54 +03:00
Nikolay Krasko 5d3d446ea4 Now PsiElementFinderImpl is registered via extension but it hadn't been added to JavaCoreProjectEnvironment 2015-02-18 18:51:53 +03:00