Nikolay Krasko
7b60c016f9
EA-36390 Guard rewriting constructor in slice
2012-09-27 18:52:55 +04:00
Evgeny Gerashchenko
0d7544c6a9
Using JetValueParameterAnnotation factory method instead of constructor.
...
Made constructor private.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
0012dd49da
Minor.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
7aaffd4037
Private constructors.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
6be9fb1017
EA-39553 - NPE: AlternativeSignatureData.<init>
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
0d116be2cc
Separated 'initialized' and 'flags' fields to avoid confusing.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
44c1eb0594
Added @NotNull annotations.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
292af9eea1
Allowed changing variance from 'invariant' to 'in' and 'out' in alternative signatures.
2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko
4033c9f835
Saving alternative signature parsing errors to binding trace.
2012-09-27 18:27:29 +04:00
Svetlana Isakova
0c89c57a10
optimize imports in injectors rollback
2012-09-26 15:23:59 +04:00
Kirill Berezin
194ef38ba3
KT-2477 fake overrides now get INHERITED visibility in order to maximize visibility according to inherited traits\classes
2012-09-25 19:17:55 +04:00
Alex Tkachman
1d5636ea6a
unused fields removed
2012-09-23 17:36:38 +02:00
Alex Tkachman
852b7e19cc
constant for annotation-less case introduced
2012-09-23 14:53:30 +02:00
Alex Tkachman
6e95c85041
private constructor added
2012-09-23 14:44:56 +02:00
Alex Tkachman
4768db3b56
cleanup
...
- clean to green
- injectors regenerated
2012-09-23 14:36:29 +02:00
Alex Tkachman
b9c7f607ef
cleanup
...
- aggressive green-ification
- injectors regenerated
2012-09-23 14:13:43 +02:00
Alex Tkachman
a255da1904
cleanup
2012-09-23 13:23:02 +02:00
Alex Tkachman
4600990d52
JetValueParameter.nullable is deprecated as it duplicates info in type field
2012-09-23 13:19:51 +02:00
Alex Tkachman
b70cc84764
introduce constants for cases when annotations not present
2012-09-23 13:04:48 +02:00
Alex Tkachman
edc0bf0b15
returnTypeNullable in flags duplicates info in returnType annotation field
2012-09-23 12:22:57 +02:00
Alex Tkachman
1ec32810f4
- small optimizations of JavaDescriptorResolver
...
- kind of method encoded in flags
- nullable return type encoded in flags
2012-09-23 12:08:55 +02:00
Alexander Udalov
dadc97d29f
Fix maven build
...
Do not create class objects for classes which come from Java.
2012-09-20 18:10:19 +04:00
Alexander Udalov
bce5cb9034
Support inner enums from binaries
...
#KT-2771 Fixed
2012-09-20 15:02:58 +04:00
Nikolay Krasko
fbe4e9f96e
KT-2710 code completion doesn't work
...
#KT-2710 In Progress
2012-09-20 00:30:18 +04:00
Svetlana Isakova
618f1b377b
added signatureName format to JvmClassName
2012-09-19 13:06:25 +04:00
Svetlana Isakova
bfa6cc2f0a
read inner classes types from kotlin signature
2012-09-19 13:06:25 +04:00
Svetlana Isakova
305c42e15d
creation JvmClassName from class descriptor
2012-09-19 13:06:25 +04:00
Svetlana Isakova
c0334094ba
added JavaToKotlinClassMapBuilder
...
to merge the registration of mapped classes
2012-09-19 13:06:24 +04:00
Alex Tkachman
e317764a88
correct access flags for package private (coming from java) #KT-2781 fixed
2012-09-16 10:08:36 +03:00
Alex Tkachman
99196c187b
unification of codegen for singletons between object declarations, classobjects and const closures
2012-09-15 22:54:38 +03:00
Evgeny Gerashchenko
7efbd44d63
Added escaping/unescaping signatures when saving/loading from annotations.
2012-09-13 19:41:42 +04:00
Svetlana Isakova
b7b15f8379
extracted method 'isSameName' + rename
2012-09-13 17:28:31 +04:00
Svetlana Isakova
a4694f767a
change anonymous class to TypeTransformingVisitor
2012-09-13 17:28:31 +04:00
Svetlana Isakova
0d1790a4f4
alternative signature applies for names
...
mapped in standard library (and differs from auto transformed Java signature)
e.g.Collections.copy(MutableList, List)
2012-09-13 17:28:31 +04:00
Svetlana Isakova
75479c7acd
extracted method mapPlatformClass(FqName)
2012-09-13 17:28:31 +04:00
Svetlana Isakova
f799df9126
AsmTypeConstants, KotlinToJavaTypesMap moved to frontend.java module
2012-09-13 17:28:31 +04:00
Svetlana Isakova
3c083c83e2
alternative signature applicability check changed
2012-09-13 17:28:30 +04:00
Nikolay Krasko
9a645dca3e
Ability to get correct fqName for JvmClassName with names for class objects and traits
2012-09-11 21:29:41 +04:00
Svetlana Isakova
3bd79fa701
introduced interface PlatformToKotlinClassMap
...
changed method in ModuleConfiguration (now it returns PlatformToKotlinClassMap)
JavaToKotlinTypesMap implements PlatformToKotlinClassMap
'importAllUnderDeclaration' in Importer uses PlatformToKotlinClassMap
2012-09-07 19:03:06 +04:00
Alexander Udalov
cb13995057
Write callable member's kind to JetMethod annotation
...
Reuse deprecated kind() parameter in JetMethod annotation to store
CallableMemberDescriptor.Kind if it's not DECLARATION.
JavaDescriptorResolver doesn't always resolve members to DECLARATION
anymore, instead it deserializes member's kind from the annotation.
Create DescriptorKindUtils to convert Kind to int value and back.
2012-09-07 19:00:07 +04:00
Evgeny Gerashchenko
17932f1b7c
EA-36257 - NPE: DecompiledDataFactory.appendDescriptor
...
Added assert in only place where source of NPE may appear.
2012-09-07 17:52:32 +04:00
Svetlana Isakova
8e5e309440
preserve order while collect overrides
2012-09-05 18:55:19 +04:00
Svetlana Isakova
bab20717ee
KT-2688 Provide mutable/immutable interfaces for Java collections
...
#KT-2688 fixed
2012-09-05 18:55:16 +04:00
Svetlana Isakova
6fe49398a6
added 'getKotlinAnalogsForJavaStandardClasses'
...
to most of module configurations
2012-09-05 18:55:16 +04:00
Svetlana Isakova
726bcb5465
KT-2606 Filter java.util.* import
...
#KT-2606 fixed
added FilteringScope
2012-09-05 18:55:16 +04:00
Svetlana Isakova
e70db866ad
add 'getKotlinAnalogs' to ModuleConfiguration
2012-09-05 18:55:15 +04:00
Svetlana Isakova
7073b12d11
add ModuleConfiguration to injectors
...
(to be able to use it in TypeResolver)
2012-09-05 18:55:15 +04:00
Natalia.Ukhorskaya
97cab46c39
JavaDescriptorResolver: remove duplicated code
2012-08-30 12:20:26 +04:00
Natalia.Ukhorskaya
19221e3ba6
JavaDescriptorResolver: Add resolve for annotation parameters (array, annotation, enum)
...
Temporary change testData for LoadJavaTest because enums in parameters of annotations in kotlin files is now unsupported
2012-08-30 10:56:33 +04:00
Pavel V. Talanov
00a12bd013
Constructors for enum entries and class objects have private visibility in frontend.
...
Introduce DescriptorUtils#getDefaultConstructorVisibility.
DescriptorResolver: remove exception wrapping.
Hardcode package-private visibility for enum entries in JetTypeMapper.
Refactoring:
DescriptorResolver: rename createPrimaryConstructorForObject -> createAndRecordPrimaryConstructorForObject, createPrimaryConstructorForObject now a separate method.
JavaDescriptorResolver: extract containingDeclaration variable.
JetTypeMapper: rename variable declaration -> containingDeclaration.
2012-08-29 14:42:12 +04:00