Evgeny Gerashchenko
a49551dd35
Introduced getFqNameSafe method.
2013-12-17 20:28:57 +04:00
Evgeny Gerashchenko
3352d8a954
Minor. Renamed method.
2013-12-17 20:28:56 +04:00
Evgeny Gerashchenko
73114d7e9c
Fragment providers added on higher level.
2013-12-17 20:28:50 +04:00
Evgeny Gerashchenko
9d2b79c631
Migrated CliLightClassGenerationSupport to package views.
2013-12-17 20:28:42 +04:00
Evgeny Gerashchenko
b783175fb4
Removed ex-ModuleConfiguration classes.
2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko
d0605009ae
Removed ModuleConfiguration.
2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko
7abe6a5b4a
Big refactoring. Migrating to package views and fragments.
2013-12-17 19:18:33 +04:00
Evgeny Gerashchenko
369824cd2e
Skipping error types when processing alternative signatures.
2013-12-17 19:18:32 +04:00
Alexey Sedunov
6913f42a97
Add support of light classes for local class/object declarations
2013-12-12 17:30:52 +04:00
Natalia Ukhorskaya
155cbbfc02
Add evaluator for java property initializer
2013-12-05 15:23:40 +04:00
Natalia Ukhorskaya
dd0122a482
Rewrite evaluator to kotlin. Small refactoring
2013-12-05 15:20:18 +04:00
Andrey Breslav
a0b09ae590
Optimization: don't check when there's nothing to check or report
2013-11-21 13:07:37 +04:00
Andrey Breslav
d2a9cd7b43
Render types with renderer
2013-11-21 13:07:37 +04:00
Nikolay Krasko
6aeaceae8d
Refactoring: Rename JetClsMethod -> JetPsiMethodWrapper
...
Source element in Kotlin mustn't be wrapped into read-only class-elements
2013-11-15 19:05:47 +04:00
Andrey Breslav
6074667fd4
Method map regenerated
2013-10-25 16:28:44 +04:00
Mikhael Bogdanov
88a43fac5f
Injectors regenerated
2013-10-24 14:14:49 +04:00
Alexander Udalov
73b768a72c
Minor, extract Slices.createCollectiveSlice()
2013-10-22 23:08:34 +04:00
Alexander Udalov
938a906bcd
Deserialize annotations on value parameters of functions
2013-10-22 23:08:33 +04:00
Andrey Breslav
3960426698
TypeProjection interface extracted
2013-10-17 18:15:51 +04:00
Svetlana Isakova
3663757073
injectors regenerated
...
BodyResolver doesn't need DescriptorResolver any more
2013-10-16 20:41:22 +04:00
Svetlana Isakova
0cee8cac15
moved class (DelegatedPropertyResolver)
2013-10-16 20:41:22 +04:00
Svetlana Isakova
a455467f9e
made delegated property resolver a component
...
from DelegatedPropertyUtils
2013-10-16 19:51:54 +04:00
Alexander Udalov
65b098b327
Minor, remove unchecked casts from JavaElement collection util
2013-10-15 20:34:45 +04:00
Alexander Udalov
1fdb86f733
JavaArrayAnnotationArgument.getElements() returns List
2013-10-15 20:34:44 +04:00
Alexander Udalov
5b916ea108
Type parameters/arguments constitute lists, not collections
2013-10-15 20:34:44 +04:00
Alexander Udalov
0958e63be2
JavaMethod.getValueParameters() returns List
2013-10-15 20:22:59 +04:00
Andrey Breslav
cd275fd814
'runtime' module replaced by 'kotlin-runtime' library
2013-10-14 14:42:25 +04:00
Alexander Udalov
098d183a72
Remove Logger from AnnotationDescriptorDeserializer
...
Use abstract ErrorReporter instead
2013-10-04 18:32:42 +04:00
Alexander Udalov
edda5d8801
Move AssertInvisibleInResolver check to frontend.java
...
This is a dirty hack, taking advantage of the fact that
JavaResolverCache.getClass() is called exactly once and right after this check
2013-10-04 18:32:41 +04:00
Alexander Udalov
fa4f568437
Delete AsmUtil.fqNameByAsmTypeUnsafe, refactor KotlinToJavaTypesMap
2013-10-04 18:32:41 +04:00
Alexander Udalov
fc78971aea
Delete JvmClassName.getAsmType()
2013-10-04 18:32:40 +04:00
Alexander Udalov
521496b188
Delete JvmPrimitiveType.getAsmType()
...
Create PrimitiveTypesUtil in frontend.java for this and other utilities
2013-10-04 18:32:40 +04:00
Alexander Udalov
f4abaaee10
Delete JvmClassName.byType
...
Replace JvmClassName by ASM Type in many places of JVM codegen: it wasn't used
to abstract anything, but there was a lot of useless conversions between the
two
2013-10-04 18:32:39 +04:00
Alexander Udalov
45bc7c2926
Delete JvmClassName.byClass, refactor JvmAnnotationNames
...
Store constant class names as instances of FqName instead of JvmClassName. This
is done to minimize usages of the method 'JvmClassName.getFqName()', since it's
wrong and shouldn't be used
2013-10-04 18:32:39 +04:00
Alexander Udalov
1cb68e9cf4
Move KotlinToJavaTypesMap, AsmTypeConstants to frontend.java
...
They're used only in compiler
2013-10-04 18:32:38 +04:00
Alexander Udalov
1578d891cb
Remove PsiClassFinder
...
Inline the implementation into JavaClassFinderImpl
2013-10-04 18:32:38 +04:00
Alexander Udalov
7fa39eb41b
Delete InjectorForJDR.getPsiClassFinder()
...
Replace its usages by getJavaClassFinder(). Remove code duplication in
AnalyzerFacadeForJVM/LazyResolveTestUtil
2013-10-04 18:32:38 +04:00
Andrey Breslav
f3cd83c744
All storage-related code moved to util.runtime
2013-10-03 15:49:18 +04:00
Alexander Udalov
f68a702e8f
Report ABI errors on KotlinClass, not VirtualFile
2013-10-02 17:55:02 +04:00
Alexander Udalov
3087c6f584
ReadDataFromAnnotationVisitor doesn't depend on ASM anymore
2013-10-02 17:07:37 +04:00
Alexander Udalov
8b63665b20
Delete getFqName() method from KotlinClassFileHeader
...
It's not related to the header. Add getClassName() method to
KotlinJvmBinaryClass, which reads the internal name of the class
2013-10-02 17:05:50 +04:00
Alexander Udalov
2eebcd91c0
Make annotation deserializer not depend on VirtualFile & ASM
...
KotlinJvmBinaryClass now has its own visitor interfaces, which are an
abstraction over ASM visitors and the ones that will be implemented over
reflection
2013-10-02 17:05:50 +04:00
Alexander Udalov
7eff1292f0
Make an abstraction over VirtualFileFinder
...
Java descriptor loader now can work with KotlinClassFinder, which finds
abstract KotlinJvmBinaryClass'es: they are based on VirtualFile in the
compiler/IDE and will be based on j.l.Class in the reflection
2013-10-02 17:05:50 +04:00
Evgeny Gerashchenko
d56c59d9d7
Removed toArray() from collections (few tests are still failing).
...
#KT-3352 in progress
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
2c877f080e
Introduced CompositeExtension (to pass several of them).
2013-10-01 15:06:57 +04:00
Alexander Udalov
ee92ebe941
Move Kotlin descriptor loading to kotlin/ package
2013-09-30 22:43:17 +04:00
Andrey Breslav
4644858b11
@NotNull propagated to JetVisitor implementations
2013-09-24 07:05:21 -07:00
Alexander Udalov
7faf8ef92a
Change annoying LOG.error to warn
...
Must be fixed with thread-safe JDR
2013-09-18 20:14:42 +04:00
Alexander Udalov
8e59e789dc
Extract util.runtime module out of util
...
Cleanup module dependencies: a lot of modules depended on 'frontend.java' just
to use something from 'util' module, exported by 'frontend.java', whereas they
really need nothing from 'frontend.java'. Also 'frontend.java' just exported
'util', not using anything from it.
Create a new 'util.runtime' module, which will be available at runtime. Make
'util' export 'util.runtime' and make all modules who needed these utils depend
on 'util' directly instead of 'frontend.java'
2013-09-18 17:21:11 +04:00
Alexander Udalov
b7f1e61be9
Add JetType.isError()
...
Instead of ErrorUtils.isErrorType() which does several instanceof checks anyway
2013-09-18 16:41:48 +04:00