Commit Graph

4511 Commits

Author SHA1 Message Date
Stanislav Erokhin eb50e4adb3 Inject StorageManager to ResolutionTaskHolder 2014-11-17 17:38:52 +03:00
Stanislav Erokhin b7f7a3349d Rename ResolutionTaskHolder.java -> ResolutionTaskHolder.kt 2014-11-17 17:38:52 +03:00
Stanislav Erokhin f59d54e64f Convert ResolutionTaskHolder to kotlin 2014-11-17 17:38:51 +03:00
Nikolay Krasko b5fb27b485 LTDA: Register script files in packages slice 2014-11-17 16:15:26 +03:00
Nikolay Krasko 365319a8e6 LTDA: Make supertypes in lazy type parameters be recorded in order of declaration 2014-11-17 16:15:26 +03:00
Nikolay Krasko 5657d30125 LTDA: Move prohibited 'class object' to the list with extra class objects descriptors in lazy resolve 2014-11-17 16:15:24 +03:00
Nikolay Krasko cb2a9168a7 Dropped redundant interface 2014-11-17 16:15:23 +03:00
Nikolay Krasko e1d51e9879 Minor: code enhancements 2014-11-17 16:15:22 +03:00
Nikolay Krasko 27e9f9c926 Don't duplicate overloaded functions in getting all descriptors 2014-11-17 16:15:22 +03:00
Pavel V. Talanov 32c66f9232 Regenerate OperationsMapGenerated 2014-11-14 16:18:34 +03:00
Pavel V. Talanov 5f47a5aa49 Move MemberComparator to 'descriptors' module 2014-11-14 16:18:23 +03:00
Denis Zharkov 28dc84344c Prohibit ''Nothing'' substitution of reified TP 2014-11-13 20:56:09 +03:00
Denis Zharkov b3691b7358 Frontend changes for reified type parameters
Allowing reified only for inline functions and Intrinsics
2014-11-13 20:56:09 +03:00
Denis Zharkov f3c49c605f Typecheck instructions are supported for reified T 2014-11-13 20:56:06 +03:00
Denis Zharkov 4a66ab3627 Support generic array creation for reified inlined 2014-11-13 20:56:06 +03:00
Denis Zharkov 8e3f87abaf Minor, extracted TypeUtils.isTypeParameter 2014-11-13 20:56:05 +03:00
Alexey Sedunov c487cc7838 Create From Usage: Do not generate unnecessary/skip necessary empty lines 2014-11-13 17:27:24 +03:00
Valentin Kipyatkov 5f5d2de5e0 Moved KindFilter and DescriptorKindExclude out of JetScope, moved constants as well and renamed them 2014-11-12 21:57:49 +03:00
Valentin Kipyatkov 95b3885aa5 Refactored filtering by descriptor kind so that no knowledge about SAM-constructors required in core 2014-11-12 21:25:02 +03:00
Valentin Kipyatkov 2512962134 Faster completion of non-imported extensions 2014-11-12 21:25:02 +03:00
Valentin Kipyatkov 16c7201b34 Memory optimizations 2014-11-12 21:25:01 +03:00
Valentin Kipyatkov 5696fef30f Replace HashSet's with LinkedHashSet's for consistent behavior 2014-11-12 21:25:01 +03:00
Valentin Kipyatkov bf38da7bb1 Made private things private 2014-11-12 21:25:01 +03:00
Valentin Kipyatkov f31832dea9 Smart completion optimization 2014-11-12 21:25:00 +03:00
Valentin Kipyatkov 6f2da4930a Descriptor kind filter replaced with bit mask 2014-11-12 21:24:59 +03:00
Valentin Kipyatkov 8d02c58e0a Added name filter to PackageFragmentProvider.getSubPackagesOf but do not know how to use it actually 2014-11-12 21:24:59 +03:00
Valentin Kipyatkov ccb7ba5517 More efficient treatment of single class imports 2014-11-12 21:24:58 +03:00
Valentin Kipyatkov e14529eff7 LazyImportScope to filter by name and kind filters 2014-11-12 21:24:58 +03:00
Valentin Kipyatkov ed2a50ffcb Minor 2014-11-12 21:24:58 +03:00
Valentin Kipyatkov c7ba03f76a DeclarationProvider.getAllDeclarations() -> getDeclarations(kindFilter, nameFilter) 2014-11-12 21:24:58 +03:00
Valentin Kipyatkov 169b082fff LazyMemberScope refactoring in progress 2014-11-12 21:24:57 +03:00
Valentin Kipyatkov c7527e4a4d Name filters filter by Name instead of String 2014-11-12 21:24:57 +03:00
Valentin Kipyatkov 0472eb57a1 Refactored WritableScopeImpl to not cache result of getDescriptors() but use filters 2014-11-12 21:24:56 +03:00
Valentin Kipyatkov a2dbf68286 Code simplifications 2014-11-12 21:24:56 +03:00
Valentin Kipyatkov 1983a9f3da Replaced usages of JetScope.getAllDescriptors() with JetScope.getDescriptors() (where makes sense) 2014-11-12 21:24:55 +03:00
Valentin Kipyatkov 2dd41028fd Removed explicit invoke() 2014-11-12 21:24:55 +03:00
Valentin Kipyatkov 760b9c4389 Added JetScope.getDescriptors(nameFilter, kindFilter) but the filters are never used yet 2014-11-12 21:24:55 +03:00
Alexander Udalov eb96b97bc8 Get rid of underscores in private property names
They were used to workaround duplicate signature errors, but this is no longer
relevant since no accessors are generated for private properties with backing
fields
2014-11-11 18:35:37 +03:00
Alexey Sedunov afeb03f383 Create From Usage: Create class by annotation entry/super-call delegation specifier 2014-11-11 14:42:48 +03:00
Alexey Sedunov b8f68acdbb Create From Usage: Create class by reference expression 2014-11-11 14:42:42 +03:00
Alexey Sedunov a76607beca Callable Builder: Support class generation 2014-11-11 14:42:37 +03:00
Alexey Sedunov aaf4283531 JetTypeParameterListOwner: Add getTypeParameterList() and getTypeConstraintList() methods 2014-11-11 14:42:34 +03:00
Andrey Breslav 19afb2fcb8 Make candidate resolver force-resolve type arguments on argument count mismatch 2014-11-10 17:24:05 +02:00
Andrey Breslav 8436147cec KT-1056 Don't allow passing type arguments to T
#KT-1056 Fixed
2014-11-10 17:23:58 +02:00
Andrey Breslav 35766dfa20 Additional/forced resolve for lazy types 2014-11-10 17:23:58 +02:00
Andrey Breslav 7d9be42969 LazinessTokens introduced to enable/disable building lazy types 2014-11-08 15:51:41 +02:00
Andrey Breslav 2334bf4c70 Resolution of type constructors in TypeResolver is now lazy (for types in declarations) 2014-11-08 15:51:41 +02:00
Andrey Breslav 266262df68 TypeResolver converted to Kotlin 2014-11-08 15:51:40 +02:00
Svetlana Isakova fad4261448 KT-6132 No smart completion for argument of java static method
#KT-6132 Fixed
2014-11-08 10:36:25 +03:00
Svetlana Isakova de6cdf19ac Improved assert error message 2014-11-08 10:36:24 +03:00