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
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
Alexander Udalov
34e7584aec
Move some utilities from OverridingUtil to OverrideResolver
...
OverridingUtil will be present at runtime and we should strive to minimize the
size of our runtime classes
Also add a comment to getOverriddenDescriptors()
2014-04-17 19:51:30 +04:00
Tal Man
aeb5bae556
Refactoring of CompileTimeConstant, introduce flag to represent a constant being referenced by a variable
2014-04-09 14:47:05 -04:00
zarechenskiy
43b41f6db9
Implement formatMethod in JavaSignatureFormatter without PSI
2014-04-04 17:40:37 +04:00
zarechenskiy
fe48051041
Remove acces to JavaPropertyInitializerEvaluator through ServiceLoader by injecting it in GenerateInjectors
2014-04-04 17:40:37 +04:00
zarechenskiy
2e4028ba3a
Move method createArrayType to JavaType and drop JavaElementFactory
2014-04-04 17:40:36 +04:00
zarechenskiy
735df2e340
Drop getExternal method from JavaSignatureFormatter
2014-04-04 17:40:36 +04:00
zarechenskiy
d7337fbe94
Remove PSI in TraceBasedExternalSignatureResolver, AlternativeFieldSignatureData, AlternativeMethodSignatureData
2014-04-04 17:40:35 +04:00
Andrey Breslav
b8119a57ab
Script parameters supported in LAZY mode
2014-04-01 12:36:51 +04:00
Andrey Breslav
77261330b9
Only use script parameters from definition
...
Passing parameters of a _single_ script into TopDownAnalyser makes no sense
2014-04-01 12:25:33 +04:00
Andrey Breslav
6ac2e2da8a
Support scripts in LAZY mode
2014-04-01 12:25:32 +04:00
Andrey Breslav
76e286aacc
ScriptParameterResolver extracted
2014-04-01 12:25:31 +04:00
Andrey Breslav
9a1f8b9cc6
Trace is not injected into ScriptBodyResolver any more
2014-04-01 12:25:31 +04:00
Nikolay Krasko
4aa3dff2a2
Update to ASM5
2014-04-01 02:55:05 +04:00
Nikolay Krasko
95fd870988
Update to idea 135.666 EAP with asm5 library
2014-04-01 02:55:00 +04:00
Evgeny Gerashchenko
04a6b10f7a
Minor. Renamed annotationDeserializer → deserializers.
2014-03-31 22:39:59 +04:00
Andrey Breslav
298ddcf0ad
Do not resolve annotation arguments when only a type is requested
...
This replaces the logic that always did complete constructor call resolution by a request to typeResolver when only a type is needed
2014-03-26 21:10:29 +04:00