Commit Graph

24632 Commits

Author SHA1 Message Date
Mikhail Glukhikh b87bbfc3e0 Deprecated enum syntax removed: change signature tests 2015-08-10 16:24:04 +03:00
Mikhail Glukhikh 076ac4f5ee Create class from usage fix: enum entries are created with new constructor syntax 2015-08-10 16:24:01 +03:00
Mikhail Glukhikh fe716d7e56 Change signature fix: correct parameter add / remove from enum constructor calls, relevant test fixes 2015-08-10 16:23:57 +03:00
Mikhail Glukhikh 8405a9a021 Enum syntax: source code fixed 2015-08-10 16:23:53 +03:00
Nikolay Krasko 0ccdf1d43b J2K: JetClassFileDecompiler.java converter 2015-08-10 13:07:42 +03:00
Nikolay Krasko 99b70b49c4 J2K: JetClassFileDecompiler.java file rename 2015-08-10 13:07:39 +03:00
Nikolay Krasko 99444c4eea Update to 142.3728.3 2015-08-10 13:07:37 +03:00
Nikolay Krasko 0b35aa69a3 Update since to 142.3553.1 2015-08-10 13:07:35 +03:00
Dmitry Jemerov e7044f33ef Merge pull request #736 from jsyeo/fix-broken-link
Fix broken link in README.md
2015-08-09 15:36:34 +02:00
Jason Yeo 089a4e8779 Fix broken link in README.md 2015-08-09 07:21:01 +08:00
Zalim Bashorov 7e250ab2ca Add test infrastructure to check the tracking lookups
Added simple test to verify infrastructure.
2015-08-08 02:08:19 +03:00
Zalim Bashorov 36f69d9fd6 Minor: move some properties of AbstractIncrementalJpsTest to constructor 2015-08-08 02:08:19 +03:00
Zalim Bashorov 5017153c72 Provide LookupLocation when lookup simple name 2015-08-08 02:08:18 +03:00
Zalim Bashorov ca4f975451 Track lookups to package and class member scopes 2015-08-08 02:08:17 +03:00
Zalim Bashorov 7cd678e03b Add ability to provide custom LookupTracker from JPS 2015-08-08 02:08:17 +03:00
Zalim Bashorov e1ed5667d4 Add API to record lookups and introduce KotlinLookupLocation to store the processing JetElement 2015-08-08 02:08:16 +03:00
Zalim Bashorov 0978e9f169 Minor: move LookupLocation to org.jetbrains.kotlin.incremental.components 2015-08-08 02:08:16 +03:00
Zalim Bashorov 2aa4c383cd UsageLocation -> LookupLocation 2015-08-08 02:08:15 +03:00
Zalim Bashorov 96696c6846 UsageCollector -> LookupTracker 2015-08-08 02:08:14 +03:00
Alexey Sedunov 7125989c69 Pull Up: Java -> Kotlin interoperability
#KT-5803 Fixed
2015-08-07 23:30:12 +03:00
Alexey Sedunov 556285f2c7 PSI: Added addAnnotationEntry() function 2015-08-07 23:30:10 +03:00
Alexey Sedunov e331f13a32 J2K Converter: Support class references as top-level elements 2015-08-07 23:30:09 +03:00
Alexey Sedunov a9783ffe81 Pull Up: Kotlin -> Java interoperability 2015-08-07 23:30:08 +03:00
Alexey Sedunov ffc56a7c31 Pull Up: Move Kotlin -> Kotlin tests to separate directory 2015-08-07 23:30:06 +03:00
Alexey Sedunov a695202846 Pull Up: Minor: Use property access syntax 2015-08-07 23:30:05 +03:00
Alexey Sedunov c4ec694c9f Minor: Move class to proper package 2015-08-07 23:30:04 +03:00
Alexey Sedunov 6e142d3f62 Create From Usage: Allow extension properties on Java interfaces 2015-08-07 23:30:02 +03:00
Alexander Udalov 74760acf66 Parameter names of Java methods: store enum field instead of two booleans 2015-08-07 23:01:27 +03:00
Alexander Udalov d7b1e5d7a8 Improve toReadOnlyList(), consider the case when size = 1 2015-08-07 23:01:26 +03:00
Alexander Udalov 182e2ebbab Avoid creating empty hash maps in DataFlowInfoForArgumentsImpl 2015-08-07 23:01:25 +03:00
Alexander Udalov fd006c521f Add capacities to some ArrayList instances in project
The changed lists were visible in the profiler memory snapshot. It's unclear
what this will save, but each of these lists was retaining at least several
megabytes of memory
2015-08-07 23:01:24 +03:00
Alexander Udalov dce99e2fef Get rid of LinkedHashSet in some places in favor of ArrayList 2015-08-07 23:01:23 +03:00
Alexander Udalov f3857cbb89 Change overriddenDescriptors' type from Set to Collection
So that the easiest way of constructing a HashSet in the implementation will be
not the only possible way to implement getOverriddenDescriptors(). If there's
not too many overridden descriptors, an implementation may decide to return a
small list for example instead
2015-08-07 23:01:23 +03:00
Alexander Udalov d328727cea Don't store overridden descriptors in ValueParameterDescriptor
Compute it on each access instead, because it's too costly and not really
needed to store a LinkedHashSet for each parameter. Also inline
'bindFakeOverride'
2015-08-07 23:01:22 +03:00
Alexander Udalov 5aad063076 Extract VariableDescriptorWithInitializerImpl out of VariableDescriptorImpl
Because ValueParameterDescriptorImpl extends from VariableDescriptorImpl, but
it never has a compile-time initializer, so it was always storing an extra null
2015-08-07 23:01:21 +03:00
Alexander Udalov 942ab9ef6d Make 'hasDefaultValue' an extension on ValueParameterDescriptor
To avoid storing a Boolean and a boolean. It isn't called frequently enough to
justify this wasted space for each parameter of every function out there
2015-08-07 23:01:20 +03:00
Alexander Udalov 8dddce5ac5 Minor, replace some usages of hasDefaultValue -> declaresDefaultValue 2015-08-07 23:01:20 +03:00
Nikolay Krasko c13396d92f Refactoring: inline method 2015-08-07 19:14:20 +03:00
Nikolay Krasko 5fe81d67a3 Refactoring: move function and avoid return lambda 2015-08-07 19:14:18 +03:00
Nikolay Krasko 7de35baa4b Idea start configuration with fixed fonts on Windows
Run with Java 1.7 and add tools.jar to Idea classpath explicitly.
2015-08-07 19:14:13 +03:00
Nikolay Krasko 470a062254 Add kotlin-reflect to additional classpath 2015-08-07 19:14:11 +03:00
Denis Zharkov 5323310950 Use LookupCancelWatcher as component instead of service 2015-08-07 19:14:09 +03:00
Natalia Ukhorskaya 93a3d3a4c4 Fix compilation error 2015-08-07 19:14:07 +03:00
Natalia Ukhorskaya fbe192b75f Suppress warnings about org.imgscalr.Scalr class 2015-08-07 19:14:04 +03:00
Nikolay Krasko 4a06ed1271 Update to 142.3553.1 2015-08-07 19:14:02 +03:00
Dmitry Jemerov 5e1b44eac8 fix tests: imported FQ name of an import directive is nullable 2015-08-07 11:41:51 +02:00
Dmitry Jemerov 43bbed495b code review 2015-08-07 11:41:50 +02:00
Dmitry Jemerov c29ebfbb04 KotlinAnnotatedElementsSearcher: handle local scope; correctly handle import aliases 2015-08-07 11:41:49 +02:00
Dmitry Jemerov cca7f08400 store imported FQ name in import directive stub 2015-08-07 11:41:48 +02:00
Dmitry Jemerov 2429ff00f6 KotlinImportDirectiveStubImpl: J2K 2015-08-07 11:41:48 +02:00