Mikhail Glukhikh
804bf3ad22
Refactoring of AnnotationResolver.resolveAnnotation(s)Arguments
2015-06-09 14:36:08 +03:00
Pavel V. Talanov
be66ee7015
Refactor QualifiedExpressionResolver: pass descriptor to check for visibility instead of scope
2015-06-08 20:25:51 +03:00
Valentin Kipyatkov
d74ac4d08a
Override/implement members dialog: no qualified type names in signatures but qualified owner class names (+ moved a method)
2015-06-01 18:23:34 +03:00
Valentin Kipyatkov
eef0e8e447
JetBlockExpression.getStatements() returns List<JetExpression> instead of List<JetElement>
2015-05-29 14:22:56 +03:00
Valentin Kipyatkov
a6f76bbf76
Fixed keywords after 'this@' completion + fixed implementation of JetExpressionWithLabel.getLabelName()
2015-05-27 16:15:46 +03:00
Valentin Kipyatkov
2a5ca095ee
DeprecatedSymbolUsageFix - correct dealing with implicit receivers + fixed KT-7776 in completion
...
#KT-7776 Fixed
2015-05-27 16:15:46 +03:00
Alexey Sedunov
58ef7f2691
Extraction Engine: Suggest both bounds for nullability-flexible types without nullability annotations. Do not omit return type if inferred one is flexible
...
#KT-6837 Fixed
2015-05-26 22:42:46 +03:00
Alexey Sedunov
036e2c585b
Refactoring: Introduce getReferenceTargets() function
2015-05-26 19:28:11 +03:00
Alexander Udalov
48b18f18d3
Restore explicit imports of Kotlin function types in Java
...
This is a follow-up to 738a84e259 and
d4965a4f3e . Optimize imports in all files
affected in those commits, drop temporary _.kt
2015-05-26 18:46:27 +03:00
Alexander Udalov
738a84e259
Temporary hack to migrate functions to package kotlin.jvm.functions
...
Add a file in package 'kotlin.jvm.functions' to the project and replace
explicit imports of functions 'kotlin.Function{n}' to two imports 'kotlin.*'
and 'kotlin.jvm.functions.*', so that the codebase can be compiled both by the
old and by the new compiler
2015-05-26 15:04:34 +03:00
Alexey Sedunov
b1f1360081
PSI: Make JetPostfixExpression.getBaseExpression() nullable
...
#KT-7761 Fixed
2015-05-21 19:29:49 +03:00
Mikhail Glukhikh
fdf0ea5546
Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries
2015-05-18 16:08:16 +03:00
Pavel V. Talanov
268d43d14a
Change ModuleContext#module type to ModuleDescriptor instead of ModuleDescriptorImpl
2015-05-17 18:24:50 +03:00
Pavel V. Talanov
01efbb1502
Introduce ModuleContext, ProjectContext and use it some of the APIs
2015-05-17 18:24:49 +03:00
Pavel V. Talanov
9d22a39924
Refactor: TopDownAnalysisParameters -> TopDownAnalysisMode
...
No longer implements TypeLazinessToken (was unused)
2015-05-17 18:24:49 +03:00
Pavel V. Talanov
f9b6c25498
Refactor: TopDownAnalysisParameters doesn't implement GlobalContext
2015-05-17 18:24:47 +03:00
Valentin Kipyatkov
56c3f7b7db
Minor code corrections on code review
2015-05-16 17:15:13 +03:00
Valentin Kipyatkov
cdf6229fff
KT-7486 Auto import inserts qualified name in companion object
...
#KT-7486 Fixed
2015-05-16 17:15:13 +03:00
Valentin Kipyatkov
ce3492f270
KT-6393 Smart completion of anonymous object inserts type with "!" for type parameter
...
#KT-6393 Fixed
2015-05-16 17:09:51 +03:00
Valentin Kipyatkov
4c315b6219
KT-7452 Code completion does not honor smart casts for 'this'
...
#KT-7452 Fixed
2015-05-16 17:09:50 +03:00
Nikolay Krasko
0fa93d59c5
Get context for partial resolve if we have result for full analyze already
2015-05-07 20:14:12 +03:00
Alexander Udalov
890d18e7be
Support external annotations in IDE when approximating flexible types
2015-04-29 01:09:36 +03:00
Alexander Udalov
43c11b2925
Merge CollectionClassMapping into JavaToKotlinClassMap
2015-04-24 02:09:05 +03:00
Evgeny Gerashchenko
f5677d8424
Converted JetPsiUtil.getElementTextWithContext() to Kotlin extension function.
2015-04-22 14:10:00 +03:00
Mikhail Glukhikh
27625b04e1
Refactoring of JetTypeInfo / BindingContext. Loop data flow analysis corrected.
...
Now BindingContext includes expression type info instead of jump out possible, data flow info and expression type.
getType() was added into BindingContext, getType() and recordType() were added into BindingTrace.
JetTypeInfo now includes also jump possible flag and jump point data flow info.
Old TypeInfoWithJumpInfo deleted.
TypeInfoFactory introduced to create JetTypeInfo instances.
A pack of extra tests for break / continue in loops added.
2015-04-21 15:29:07 +03:00
Valentin Kipyatkov
3faf6cc3e8
Correct value passed as containingDeclarationOrModule to SmartCastUtils
2015-04-13 14:30:02 +03:00
Valentin Kipyatkov
723bf0ecf9
Minor
2015-04-13 14:30:02 +03:00
Alexey Sedunov
da14222c4a
Introduce Parameter: Do not apply to expressions of type Unit or Nothing
2015-04-10 21:57:07 +03:00
Valentin Kipyatkov
784b4a8aeb
Minor code changes after code review
2015-04-02 10:17:00 +03:00
Valentin Kipyatkov
c54541b269
Functions returning Nothing are indexed even when alias import is used
2015-04-02 10:16:59 +03:00
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
fea57ecd2c
Fixed incorrect PARTIAL resolve inside code fragments
2015-04-01 23:21:24 +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
2637bf608a
Converting ElementResolver to Kotlin (step 1)
2015-04-01 23:21:23 +03:00
Valentin Kipyatkov
cd18b16407
Partial body resolve: fixed for ! and parenthesis in conditions
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
f3799a0ce7
Partial body resolve correctly handles elvis operator
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
176ba937ba
Partial body resolve filter works more precisely for if-statements
2015-04-01 23:21:21 +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
Valentin Kipyatkov
3b110f8ef8
KT-7194 No completion for member extension function inside itself
...
#KT-7194 Fixed
2015-04-01 17:46:10 +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
Mikhail Glukhikh
9c1551bca9
Implementation of smart casts for public / protected immutable properties that are not open and used in the same module.
...
DataFlowValueFactory and its environment refactoring: containing declaration is added into factory functions
as an argument and used to determine identifier stability. A few minor fixes. #KT-5907 Fixed. #KT-4450 Fixed. #KT-4409 Fixed.
New tests for KT-4409, KT-4450, KT-5907 (public and protected value properties used from the same module or not,
open properties, variable properties, delegated properties, properties with non-default getter).
Public val test and KT-362 test changed accordingly.
2015-03-31 16:19:03 +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
Evgeny Gerashchenko
3ec6ffc906
KT-7007 Go to declaration doesn't work inside enum class
...
#KT-7007 fixed
2015-03-17 16:10:51 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Pavel V. Talanov
2a6facaef6
default -> companion: default object -> class object in project code, builtins and libs code
2015-03-17 15:46:48 +03:00
Nikolay Krasko
48ce8d5270
Add additional logging for context and element (EA-64785)
2015-03-16 20:16:26 +03:00
Denis Zharkov
50c8c6f68b
Basic completion within secondary constructors
...
body and delegation call
2015-03-11 17:45:26 +03:00