Commit Graph

24777 Commits

Author SHA1 Message Date
Stanislav Erokhin 2ee8f1c454 Change outer scope for nested class and object -- removed implicit outer class receiver.
#KT-5362 Fixed
#KT-8814 Fixed
2015-08-18 21:26:42 +03:00
Stanislav Erokhin b83b298f68 Minor. move static scope from ClassResolutionScopesSupport to LazyClassDescriptor 2015-08-18 21:26:42 +03:00
Stanislav Erokhin 17d8424cee Remove member scope from scopeForMemberDeclarationResolution 2015-08-18 21:26:41 +03:00
Stanislav Erokhin 0d8ae8f949 Use member scope for declaration instead resolution scope in LazyDeclarationResolver 2015-08-18 21:26:41 +03:00
Stanislav Erokhin d762d75942 Created LexicalScope and FileScope. 2015-08-18 21:26:35 +03:00
Stanislav Erokhin f5c6e8cb77 Minor. Removed unused code. 2015-08-18 21:26:34 +03:00
Valentin Kipyatkov 947db74b62 Minor 2015-08-18 18:50:00 +03:00
Valentin Kipyatkov 275299f5e2 Merged 2 tests 2015-08-18 18:50:00 +03:00
Valentin Kipyatkov ba8c2f1084 Refactored RemoveModifierFix + some psi API refactoring
#EA-69237 Fixed
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov fd517d41d1 Converted to Kotlin 2015-08-18 18:50:00 +03:00
Valentin Kipyatkov aaaf033338 Added diagnostic for EA-69526 - assert: JavaToKotlinConverter.checkReferenceValid 2015-08-18 18:50:00 +03:00
Valentin Kipyatkov fdf7e483b0 Added diagnostic for EA-70090 - assert: PsiUtilPackage$psiUtils$bbf.getElementTextWithContext 2015-08-18 18:50:00 +03:00
Valentin Kipyatkov 469c5a24de Rewritten ReplaceInfixCallFix
#EA-70093 Fixed
2015-08-18 18:49:59 +03:00
Valentin Kipyatkov 81acf72d0b No i18n 2015-08-18 18:49:59 +03:00
Valentin Kipyatkov b6311d7be7 Converted to Kotlin 2015-08-18 18:49:59 +03:00
Valentin Kipyatkov 4ba1f423e1 EA-70229 - IOOBE (KotlinFunctionInsertHandler): ImmutableText.findLeaf
#EA-70229 Fixed
2015-08-18 18:49:59 +03:00
Valentin Kipyatkov b7c1bed809 EA-70292 - KNPE: BindingContext.TYPE_RESOLUTION_SCOPE returns null
#EA-70292 Fixed
2015-08-18 18:49:59 +03:00
Valentin Kipyatkov b715e2e9f5 KT-8688 Classes in Go To class list are misaligned with Java neighbors
#KT-8688 Fixed
2015-08-18 18:49:58 +03:00
Valentin Kipyatkov 93619ddc00 Likely fixed EA-70294 - Uncommited document on applying intention
#EA-70294 Fixed
2015-08-18 18:49:58 +03:00
Valentin Kipyatkov a7d4f600b7 Added better diagnostic for EA-70945 2015-08-18 18:49:58 +03:00
Valentin Kipyatkov da16a4017e Hopefully fixed EA-71700 and EA-71699
#EA-71700 Fixed
 #EA-71699 Fixed
2015-08-18 18:49:58 +03:00
Valentin Kipyatkov cd8fa97a20 Hopefully fixed EA-71565 and similar problems
#EA-71565 Fixed
2015-08-18 18:49:57 +03:00
Valentin Kipyatkov 6d163a7a8c Used more specific API 2015-08-18 15:35:59 +03:00
Valentin Kipyatkov ad5bd36e65 Added parameter "isStatement" for analyzeInContext and used it in UsePropertyAccessSyntaxIntention 2015-08-18 15:35:59 +03:00
Zalim Bashorov 16e1138374 LookupLocation.NO_LOCATION -> NoLookupLocation.UNSORTED 2015-08-18 12:34:20 +03:00
Zalim Bashorov 6c28dbd407 LookupLocation.NO_LOCATION_FROM_BACKEND -> NoLookupLocation.FROM_BACKEND 2015-08-18 12:34:19 +03:00
Zalim Bashorov 8e7786817d LookupLocation.NO_LOCATION_FROM_TEST -> NoLookupLocation.FROM_TEST 2015-08-18 12:34:19 +03:00
Zalim Bashorov 595975a66e LookupLocation.NO_LOCATION_FROM_IDE -> NoLookupLocation.FROM_IDE 2015-08-18 12:34:18 +03:00
Zalim Bashorov bcacef7bb9 Move all NoLookupLocation instances to the one place to make them more discoverable and close constructor 2015-08-18 12:34:17 +03:00
Zalim Bashorov 69e0f23db9 Classify Location.NO_LOCATION usages 2015-08-18 12:21:31 +03:00
Zalim Bashorov 0ca9c6fd40 Introduce NoLookupLocation and some new constants to classify LookupLocation.NO_LOCATION usages 2015-08-18 12:21:30 +03:00
Zalim Bashorov e692b7b9c4 Minor: no more use default value for location parameter in JetScope members
Temporary introduced overloads which emulated default value behavior
2015-08-18 12:21:30 +03:00
Zalim Bashorov 2df55b5694 Minor: remove obsolete settings 2015-08-18 12:21:29 +03:00
Alexey Sedunov 982655f553 Pull Up: Resolve target light class separately for each Java field usage as it may change along the way 2015-08-17 20:28:18 +03:00
Alexey Sedunov 46fe7dc7a1 Move Directory: Support Kotlin files
#KT-8350 Fixed
 #KT-8351 Fixed
2015-08-17 20:28:17 +03:00
Alexey Sedunov feacefe50a Project View: Fix "Show Members" behavior for Kotlin files
#KT-8409 Fixed
2015-08-17 20:28:16 +03:00
Alexey Sedunov 3edc903daf Move Declarations: Support multiple files
#KT-8431 Fixed
2015-08-17 20:28:14 +03:00
Alexey Sedunov 74ef93fd0c Move Declarations: Do not show "Package doesn't exist" message twice 2015-08-17 20:28:13 +03:00
Alexey Sedunov 3134e58251 J2K Converter: Add copy/paste tests for references in extends/implements clauses 2015-08-17 20:28:11 +03:00
Alexey Sedunov 96f255225b Push Down: Conflict analysis 2015-08-17 20:28:10 +03:00
Alexey Sedunov a66ef47887 Push Down: Initial Support 2015-08-17 20:28:08 +03:00
Alexey Sedunov 5168ccc159 Add/Remove Modifier: Do not add modifier if it's already present in the modifier list 2015-08-17 20:28:05 +03:00
Alexey Sedunov 969b90d301 Move Declarations: Use custom hashing strategy to account for different instances of light elements with common origin 2015-08-17 20:28:04 +03:00
Alexey Sedunov 03f08326fa Move File: Process external and internal usages after all package directives are updated 2015-08-17 20:28:03 +03:00
Valentin Kipyatkov b6c94a9e68 ResolveElementCache works correctly for non-physical files 2015-08-17 14:24:07 +03:00
Evgeny Gerashchenko 4b6991603f Minor. Split test file into two. 2015-08-15 12:29:46 +02:00
Evgeny Gerashchenko 799368386b KT-6877 Wrong unused function inspection on anonymous object member
#KT-6877 fixed
2015-08-15 12:29:46 +02:00
Evgeny Gerashchenko da4be8a0f5 KT-7484 Companion object is marked unused if it's only usages are statically imported from Java
#KT-7484 fixed
2015-08-15 12:29:44 +02:00
Evgeny Gerashchenko 3a4010503e Minor. Renamed test data dir. 2015-08-15 12:29:43 +02:00
Evgeny Gerashchenko fe1d4e38b3 KT-8273 Don't mark serialVersionUID as unused
#KT-8273 fixed
2015-08-15 12:29:42 +02:00