Pavel V. Talanov
6fb7a79a1f
Refactor DelegationResolver
...
Fix an issue in lazy resolve : filter out methods from delegated traits superclass
2013-09-30 20:54:38 +04:00
Pavel V. Talanov
c3a5a9b7b5
Minor optimization for tests
2013-09-30 20:54:37 +04:00
Pavel V. Talanov
dc9c3b1a97
Fix JetTestCaseBuilder#getHomeDirectory() having wrong separators on Windows
2013-09-30 20:54:36 +04:00
Pavel V. Talanov
10797db588
Create test for resolving with compiled kotlin dependency
...
Test for resolving fake overrides from binaries
2013-09-30 20:54:35 +04:00
Evgeny Gerashchenko
0749fc8cbb
Got rid of VFS magic.
2013-09-30 20:54:34 +04:00
Evgeny Gerashchenko
d62f946238
Minor. Added comment.
2013-09-30 20:54:34 +04:00
Evgeny Gerashchenko
42a6543c25
Packing mock library to jar to avoid VFS magic.
2013-09-30 20:54:33 +04:00
Evgeny Gerashchenko
dd4939a5ec
Using LightProjectDescriptor in navigate to library tests.
...
1.5x faster execution and reusable code.
2013-09-30 20:54:32 +04:00
Evgeny Gerashchenko
1332cbc1c1
Minor. Moved method to subclass.
2013-09-30 20:54:31 +04:00
Evgeny Gerashchenko
aec54bcbac
Got rid of protected fields.
2013-09-30 20:54:30 +04:00
Evgeny Gerashchenko
d5e86c38de
Minor. Inlined field.
2013-09-30 20:54:29 +04:00
Erokhin Stanislav
2329c9cdfa
Use javac2 compiler from Idea lib in ant build: generate @NotNull assertions
2013-09-30 16:02:44 +04:00
Mikhael Bogdanov
625efe1be1
Update to idea 132.425
2013-09-30 12:39:40 +04:00
Alexey Sedunov
48ddd7678d
Separate tree structures for local and non-local root declarations
2013-09-27 19:20:47 +04:00
Alexey Sedunov
c93d35ad57
Use KotlinCallHierarchyNodeDescriptor for Kotlin declarations only
2013-09-27 19:20:46 +04:00
Alexey Sedunov
5b7881f40c
Call Hierarchy: Add support of local declarations
2013-09-27 19:20:45 +04:00
Alexey Sedunov
41ea7da1e3
Implement call hierarchy
2013-09-27 19:20:44 +04:00
Alexey Sedunov
e4936549ee
Extract isConstructor() check
2013-09-27 19:20:43 +04:00
Alexander Udalov
07f1e61146
Remove unneeded asserts from JavaSupertypeResolver
...
Don't do anything special if a Java class happens to extend jet.JetObject: it's
not a Kotlin class and we should collect all its supertypes correctly
2013-09-27 16:01:55 +04:00
asedunov
b2bcbdfb7a
Merge pull request #307 from eterverda/master
...
Fixed wrong annotations for android.os.Parcel, android.content.ComponentName and android.os.Message
2013-09-27 04:24:19 -07:00
Andrey Breslav
a4f29bacae
Javac target JVM version explicitly specified
...
When compiling from command line on a machine with Java 7 installed you get class format errors when running on Java 6 later
2013-09-26 09:05:00 -07:00
Andrey Breslav
0d84565570
name and containingDeclaration pulled up
2013-09-26 09:05:00 -07:00
Andrey Breslav
6bed3cdc59
getOriginal() pulled up
2013-09-26 09:04:59 -07:00
Andrey Breslav
3defb3e519
Mutable field made volatile
2013-09-26 09:04:59 -07:00
Andrey Breslav
4b991f7254
Test that built-in binaries are up to date
2013-09-26 09:04:59 -07:00
Andrey Breslav
65b3d5eac5
Optimization: do not read data from input streams, use contents cached in VFS
2013-09-26 09:04:58 -07:00
Andrey Breslav
70740b835c
Checking file existence through VFS (potentially faster)
...
The previous version was showing up in the profiler
2013-09-26 07:13:18 -07:00
Alexander Udalov
40a834bb8b
Minor refactorings in DeclarationResolver
2013-09-26 15:25:36 +04:00
Mohammad Shamsi
f554ff3c8c
KT-3945 Fixed - Prohibit modifiers for packages
2013-09-26 15:25:36 +04:00
Natalia.Ukhorskaya
c7ea464636
Don't use modifiable model for configuration
2013-09-26 13:00:03 +04:00
Natalia.Ukhorskaya
b33e6d1fc1
Add test dependency when kotlin file are only under test root
2013-09-26 12:16:30 +04:00
Evgeny Gerashchenko
f23ba19258
Simplified.
2013-09-25 20:59:24 +04:00
Evgeny Gerashchenko
3200997bca
Extracted method.
2013-09-25 20:59:24 +04:00
Evgeny Gerashchenko
b4bb08c013
Generating stub methods for read-only map and entry.
2013-09-25 20:59:24 +04:00
Evgeny Gerashchenko
d1cfbbbad5
Formatting.
2013-09-25 20:59:24 +04:00
Evgeny Gerashchenko
511c908ba9
Generating stub methods for read-only collection.
2013-09-25 20:59:24 +04:00
Evgeny Gerashchenko
5de9c2499d
Added for iterator when remove() is present.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
47b70427e1
Generating remove() for Iterator using same mechanism.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
b4368ad578
Generating stub methods for read-only list.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
e98b75b462
Do not generate toString and other methods if they are inherited.
2013-09-25 20:59:23 +04:00
Evgeny Gerashchenko
23e1484319
Using more common type.
2013-09-25 20:59:23 +04:00
Alexey Sedunov
e859e02c8b
Implement "if null" / "if not null" live templates
2013-09-25 19:44:24 +04:00
Alexander Udalov
a814f6a897
Advertise CompileBinaryTestData.kt in tests with binaries
2013-09-25 16:04:17 +04:00
Natalia.Ukhorskaya
983dfbdf3c
Find kotlin library using library name, jar name in library classes root and marker class in library scope
2013-09-25 14:19:54 +04:00
Natalia.Ukhorskaya
bb42c54b7c
Don't hide configure project notification
2013-09-25 14:18:42 +04:00
Natalia.Ukhorskaya
7e86f8c6b8
Small refactoring: add NN and extract variable
2013-09-25 14:18:41 +04:00
Natalia.Ukhorskaya
da17475ae6
Pack runtime sources to separate jar
2013-09-25 14:18:41 +04:00
Natalia.Ukhorskaya
55bae03177
Don't show separator in CreateLibrary dialog when paths aren't shown
2013-09-25 14:17:40 +04:00
Aleksandro Eterverda
30bf2c27f6
Added more annotations for android.os.Message
...
Message.obtain() (all overloaded variants) never return null.
2013-09-25 01:11:33 +04:00
Aleksandro Eterverda
06b9f3d7b9
Fixed wrong annotations for android.content.ComponentName
...
ComponentName.getClassName() and ComponentName.getPackageName() cannot return null. Also it's not possible to create ComponentName with null packageName or className
2013-09-25 00:32:12 +04:00