Andrey Breslav
41d66281ee
JvmDeclarationOrigin moved to frontend.java
2014-06-19 22:10:49 +04:00
Andrey Breslav
38333d6cea
CONFLICTING_PLATFORM_DECLARATIONS moved to a JVM-specific class
2014-06-19 22:10:48 +04:00
Evgeny Gerashchenko
cea272fb39
Moved getPackageFilesWithCallables to frontend.java and reused it.
2014-06-19 17:54:33 +04:00
Evgeny Gerashchenko
6fb65fa2d4
Minor. Removed unused code.
2014-06-19 14:47:44 +04:00
Evgeny Gerashchenko
f927751ee3
Minor. Inlined method with only one call site.
2014-06-19 14:42:59 +04:00
Evgeny Gerashchenko
92849dda3b
Serializing incremental package fragment from our module instead of random one.
2014-06-19 13:41:27 +04:00
Evgeny Gerashchenko
aa41ae09ed
Merge remote-tracking branch 'origin/master' into incremental
2014-06-19 11:43:59 +04:00
Evgeny Gerashchenko
06cafe7f12
Replaced passing MemberFilter to constructor with method overriding.
2014-06-19 01:03:58 +04:00
Evgeny Gerashchenko
04f7ad450f
Simplified interface of IncrementalCache (depending on JDK only).
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko
07365dca1d
Extracted interface and moved implementation of IncrementalCache to jps-plugin, accessing cache via Java service loader.
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko
820bd911fb
Supported cases of removing source files from package fragment.
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko
b9f01a6397
Don't report package facade classes as output of sources without top-level members.
2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko
e89b59a745
Checking for constants values in incremental compiler.
2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko
c4e167d7bc
Checking for changes in class proto.
2014-06-18 22:56:36 +04:00
Evgeny Gerashchenko
018b58b51f
Rebuild only if proto changed.
2014-06-18 22:56:35 +04:00
Evgeny Gerashchenko
a82849f289
Removed member filter from injectors.
2014-06-18 22:56:33 +04:00
Evgeny Gerashchenko
ca1ee69e4c
Loading descriptors from incremental cache instead of package classes.
2014-06-18 22:56:33 +04:00
Andrey Breslav
f2bc26888c
Add "kotlin.jvm" to default imports on JVM
2014-06-18 10:55:56 +04:00
Pavel V. Talanov
f8e5fa1b2f
Rename: AnnotationDeserializer, ConstantDeserializer -> *Loader
2014-06-17 18:19:04 +04:00
Pavel V. Talanov
2673510e8b
Minor: do not access static method of ScriptHeaderResolver through instance
...
Clean up after 024ed5a236
2014-06-17 18:19:00 +04:00
Pavel V. Talanov
b9b0bba7a0
Refactor: Introduce contexts in deserialization subsystem
...
Rewrite utilities to Kotlin and move them out of DescriptorDeserializer
Include DescriptorDeserializer into context
Use new context in injectors
Drop Deserializers abstraction
2014-06-17 18:18:57 +04:00
Evgeny Gerashchenko
381e8bb205
Extracted PackagePartClassUtils.
2014-06-16 23:30:24 +04:00
Pavel V. Talanov
024ed5a236
Drop JetTypeName and related code
2014-06-11 21:22:28 +04:00
Pavel V. Talanov
ccae693ed2
JDR: Remove some usages of JavaClassResolver#resolveClassByFqName in LazyJavaAnnotationDescriptor
2014-06-05 18:17:05 +04:00
Andrey Breslav
f54e2bc498
OverridingUtil turned into a singleton
2014-06-02 22:05:30 +04:00
Nikolay Krasko
848863ef93
Completion fails with exception "Toplevel class has no fqName" (KT-5119)
...
Groovy scripts files can create PsiClasses with null qualfied names (getQualifiedName()) and names (getName()).
#KT-5119 Fixed
2014-06-02 20:36:42 +04:00
Pavel V. Talanov
a61ab440d7
Extract JetProperty#hasInitializer() and use it where appropriate
2014-05-21 15:39:45 +04:00
Andrey Breslav
773cb9efbe
Signature comparison used to find super functions in SignaturesPropagationData
...
#KT-4509 Fixed
2014-05-21 15:26:05 +04:00
Andrey Breslav
44849f8504
Move JvmMethodSignature to frontend.java
2014-05-21 15:26:04 +04:00
Alexander Udalov
9503056dd5
Add default import "kotlin.reflect"
2014-05-19 19:50:57 +04:00
Andrey Breslav
291741754b
Guard loading top-level classes with a check that they are not Kotlin binaries
2014-05-14 17:15:01 +04:00
Andrey Breslav
3a9f577d1d
All bounds may be specified in 'where' clause
...
Exception fixed in AlternativeMethodSignatureData
2014-05-13 20:19:43 +04:00
Andrey Breslav
aa20af3cf3
Minor. Unused code removed
...
Follow-up for https://github.com/JetBrains/kotlin/commit/db00500404e4862548ed5eb49f7289e1e8eba99c#commitcomment-6242775
2014-05-12 19:02:17 +04:00
Alexander Udalov
c7277250d9
Use ReflectionTypes instead of KotlinBuiltIns in type checker
2014-05-08 16:45:15 +04:00
Alexander Udalov
981b6fdaff
Don't render stack trace in a warning
...
These stack traces are confusing: they make it seem as if an exception was
thrown
2014-05-05 20:43:35 +04:00
Andrey Breslav
db00500404
Unused code removed
2014-04-30 16:30:17 +04:00
Alexander Udalov
61675de305
Optimize PropertyMetadataImpl instance creation
...
Create all property metadatas in <clinit> and save them to a static array
$propertyMetadata. Getter/setter of each delegated property will then just
obtain the corresponding instance from that array
#KT-4232 Fixed
2014-04-24 16:10:15 +04:00
Alexander Udalov
af421f53da
Rename FQNAMES -> FQ_NAMES
2014-04-24 16:10:11 +04:00
Andrey Breslav
af9694738e
JvmResolveUtil extracted for methods that are used only for tests
2014-04-23 14:06:13 +04:00
Andrey Breslav
1a92964250
JavaDescriptorResolver is cached by KotlinResolveCache
...
Accessible via JavaResolveExtension
2014-04-23 14:06:10 +04:00
Andrey Breslav
ed79be6d2d
AnalyzerFacade.Setup introduced
2014-04-23 14:06:10 +04:00
Andrey Breslav
45a90a8f20
Eager methods removed from AnalyzerFacade
2014-04-23 14:06:09 +04:00
Andrey Breslav
d45347688d
Create consolidated caching service to provide all lazily resolved data
...
Other caches are to be removed later
2014-04-23 14:06:09 +04:00
Andrey Breslav
e4e60bc377
Function object replaced by a normal function
...
+ unneededly public member made protected
2014-04-18 21:28:22 +04:00
Andrey Breslav
ebd44816d0
Function object replaced by a normal function
2014-04-18 21:28:22 +04:00
Andrey Breslav
4839f7a230
Make lazy analysis accessible to clients
2014-04-18 21:28:22 +04:00
Andrey Breslav
7d688e5bec
LazyTopDownAnalyzer extracted as a separate component
2014-04-18 21:28:21 +04:00
Andrey Breslav
c57243035e
Factory method introduced for TopDownAnalysisParameters
2014-04-18 21:28:21 +04:00
Nikolay Krasko
068c9636fc
Refactoring: rename TEXT to FQNAMES_IN_TYPES
2014-04-18 13:25:58 +04:00
Alexander Udalov
4c973b79ee
Get rid of poorly named NotInferredVisibilitySink
...
Also make TraceBasedErrorReporter invoke OverrideResolver to report "cannot
infer visibility", because there's some additional logic there
2014-04-17 19:51:31 +04:00