Commit Graph

517 Commits

Author SHA1 Message Date
Valentin Kipyatkov 1789907740 No hardcoded nothing callables needed anymore 2015-04-02 10:16:59 +03:00
Valentin Kipyatkov 6a2cc66eb1 Got rid of isProbablyNothing in stubs + fixed exception on some files on indexing stubs 2015-04-02 10:10:31 +03:00
Valentin Kipyatkov 0243280668 Extension callables index is built correctly when using alias imports 2015-04-02 10:09:26 +03:00
Valentin Kipyatkov 5ba5618718 Extension callables index and its use in completion 2015-04-02 10:09:25 +03:00
Alexander Udalov 7fda4ef438 Don't show local/anonymous classes in libraries in Project view 2015-04-02 03:22:04 +03:00
Valentin Kipyatkov c99f3fd106 Refactoring code to be more Kotlin 2015-04-01 23:21:24 +03:00
Valentin Kipyatkov 3ff13ccf5d Converting ElementResolver to Kotlin (step 2) 2015-04-01 23:21:23 +03:00
Valentin Kipyatkov f7a147f236 PsiReference.resolve() uses partial body resolve 2015-04-01 23:21:23 +03:00
Valentin Kipyatkov 6dc943a739 JetReference.resolveToDescriptors() requires BindingContext 2015-04-01 23:21:23 +03:00
Valentin Kipyatkov 04a6ebf0d6 Dropped JetReference.resolveMap() 2015-04-01 23:21:23 +03:00
Valentin Kipyatkov ff6853f300 Added BodyResolveMode parameter to JetElement.analyze() 2015-04-01 23:21:22 +03:00
Valentin Kipyatkov 7a414336c1 Do not run partial body resolve if full body resolve already cached 2015-04-01 23:21:21 +03:00
Pavel V. Talanov a986d913c3 Remove traces of class object constraints feature from parser, frontend, tests and psi 2015-04-01 20:09:34 +03:00
Alexey Sedunov eb594a2897 Extract Function: Approximate non-resolvable types with nearest resolvable supertype when possible
#KT-7120 Fixed
2015-04-01 13:41:26 +03:00
Denis Zharkov a4018d9eae Run "Add 'init' keyword in whole project" quickfix 2015-03-31 20:20:23 +03:00
Denis Zharkov 8e69c06e5a Adjust stub-builder, decompiler and renderer to new PSI structure
of primary ctor
2015-03-31 20:20:22 +03:00
Valentin Kipyatkov 7d92559d13 J2K: generating "!is" instead of !(.. is ..) 2015-03-31 16:10:21 +03:00
Alexander Udalov 52292fc360 Fix build, add dependencies idea-analysis, idea -> deserialization 2015-03-30 20:15:12 +03:00
Alexander Udalov 32c3bb8c7f Extract module 'deserialization' out of 'serialization'
'deserialization' stays in core because it's needed both in compiler and
reflection, but 'serialization' is used only in the compiler
2015-03-30 19:44:17 +03:00
Alexander Udalov 085bc2197b Merge module 'serialization.jvm' into 'descriptor.loader.java'
It was very small and there proved to be no point in separation of loading Java
classes and deserializing Kotlin classes
2015-03-30 17:22:06 +03:00
Natalia Ukhorskaya 785f7e749f InlineCodegen: find virtual file using findVirtualFileWithHeader 2015-03-30 14:03:24 +03:00
Denis Zharkov 18e40d034e Change contract of getDelegationCall to @NotNull
Its existence guaranteed by parser
2015-03-27 16:09:42 +03:00
Denis Zharkov b1de2066c7 Add quickfixes inserting explicit delegation calls
#KT-6963 Fixed
2015-03-27 16:09:41 +03:00
Stanislav Erokhin faf7922884 Migrate AddInitKeywordFix & ClassObjectToDefaultObjectFix to JetWholeProjectModalAction 2015-03-26 22:08:46 +03:00
Stanislav Erokhin f40b503454 Create DeprecatedLambdaSyntaxFix for whole project 2015-03-26 22:08:45 +03:00
Michael Nedzelsky 7b15f9c7c9 JS: add message to assert in JsLibraryStdDetectionUtil 2015-03-26 15:50:27 +03:00
Pavel V. Talanov 9d618ca767 Replace OBJECT$ usages in code and test data 2015-03-25 18:28:01 +03:00
Pavel V. Talanov ed218c473a Get rid of 'class object' usages in code and builtins
Replace some comments and library usages as well
2015-03-25 18:28:00 +03:00
Dmitry Jemerov 843298883f shuffle some code around to avoid JVM crash in tests 2015-03-24 19:08:41 +01:00
Michael Nedzelsky dae42f7c76 fix EA-66819 - IOE: VirtualDirectoryImpl.contentsToByteArray
Changes: do not try to read content for virtual file in case it is really a directory
2015-03-24 18:58:42 +03:00
Dmitry Jemerov 5370073c05 parameters in KDoc take precedence over other identifiers 2015-03-24 16:05:40 +01:00
Michael Nedzelsky 842eaa86a4 merge serialization.js module into js.serializer 2015-03-24 15:13:45 +03:00
Alexander Udalov 9a041136f2 Make ClassId's relative class name FqName instead of FqNameUnsafe
It was FqNameUnsafe in times when there were classes without identifier names,
specifically class objects with names like '<class-object-for-...>'
2015-03-23 16:30:25 +03:00
Alexander Udalov 31554b9fa3 Introduce ClassId.getShortClassName() for convenience 2015-03-23 16:30:24 +03:00
Alexey Sedunov d19e6337a3 Find Usages: Support of secondary constructors and delegation calls 2015-03-21 03:29:03 +03:00
Alexey Sedunov 83e23aafe5 Fix retrieval of class constructor 2015-03-21 03:28:56 +03:00
Michael Nedzelsky d01cc8ac55 fix navigation is Kotlin/Java with Kotlin/Javascript modules 2015-03-21 03:19:46 +03:00
Evgeny Gerashchenko c652cc16dc Classified usages as type parameters correctly.
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko 51fb4910a1 Classified usages in up casts correctly.
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko e752dd0a80 Classified usages in "is" of when entry correctly.
#KT-7047 fixed
2015-03-20 19:34:17 +03:00
Evgeny Gerashchenko 1946360a80 Introduced "Unused receiver parameter" inspection. 2015-03-20 19:34:16 +03:00
Evgeny Gerashchenko efccde2c0b Finding implicit usages of companion object in containing class. 2015-03-20 19:34:15 +03:00
Nikolay Krasko 2e657d0d34 Use lazy initialization for built-ins in tests 2015-03-20 14:11:30 +03:00
Nikolay Krasko 126f38d79c Initialize builtins with ResolveSession to avoid counting bodies in LazyTopDownAnalyzer 2015-03-20 14:11:29 +03:00
Denis Zharkov 3e0c6fc6a2 Add quickfix "Add 'init' keyword in whole project" 2015-03-18 19:59:25 +03:00
Denis Zharkov df23ff3473 Improve AddInitKeyword quickfix
- Extract quickfix method
- Delete redundant semicolon
- Do not replace initializer PSI element
2015-03-18 19:59:25 +03:00
Stanislav Erokhin 0b76dbb492 Create DeprecatedLambdaSyntaxFix 2015-03-18 17:10:12 +03:00
Pavel V. Talanov 41b65205b0 default -> companion: fix message for quick fix 2015-03-18 14:35:53 +03:00
Alexey Sedunov 429a50ab87 Safe Delete: Support secondary constructors and delegation calls 2015-03-18 10:56:37 +03:00
Denis Zharkov e05cbf5e9f Support secondary constructors and delegation calls in Change Signature.
Initial support of Find Usages
2015-03-18 10:56:36 +03:00