Andrey Breslav
4cf5b94a4a
Test data fixed according to 73ab7a9a341913f4f28634aee7f05a8df5fc17fd
2013-09-06 11:20:17 +04:00
Andrey Breslav
fa2ea75c09
Do not add explicit visibility modifiers in Override/Implement
2013-09-05 21:59:41 +04:00
Andrey Breslav
a3a5f9015a
Do not highlight errors in Kotlin files outside source roots
2013-09-05 21:59:41 +04:00
Pavel V. Talanov
61d5d43e15
Do not generate KotlinClass/Package annotation when not in ClassBuilderMode.FULL
...
#KT-3967 Fixed
2013-09-05 21:32:48 +04:00
Andrey Breslav
6d9e50f1b2
No private constructor in utility classes
2013-09-05 15:03:37 +04:00
Andrey Breslav
e3175c66e8
Fixing failed tests: do not report anything on casts that can never succeed
2013-09-05 15:03:37 +04:00
Andrey Breslav
e3079ac667
Erased casts supported
2013-09-05 14:17:33 +04:00
Andrey Breslav
173303104e
Type Unifier
2013-09-05 14:17:32 +04:00
Andrey Breslav
b550687cbc
Cast impossibility checking logic moved to a separate class
2013-09-05 14:17:32 +04:00
Andrey Breslav
a28d211442
'Cast can never succeed' diagnostics improved
2013-09-05 14:17:32 +04:00
Andrey Breslav
9f4beece64
PlatformToKotlinClassMap injected into expression analyzers
2013-09-05 14:17:32 +04:00
Andrey Breslav
685bea6446
Extract method
2013-09-05 14:14:01 +04:00
Alexander Udalov
fb5ab4c7c5
Move serialization.java module to core/
...
Remove unused dependency from frontend.java
2013-09-04 21:55:11 +04:00
Alexander Udalov
2b9225fdd4
Extract descriptor.loader.java module from frontend.java
...
Will be used in runtime to load reflected classes
2013-09-04 21:55:11 +04:00
Alexander Udalov
4fa35047b0
Move methods to DescriptorResolverUtils
2013-09-04 21:55:11 +04:00
Alexander Udalov
abad793a35
Move DescriptorResolverUtils and TypeUsage to resolver/
2013-09-04 21:55:11 +04:00
Alexander Udalov
202524ab03
Get rid of recordSourceForSynthesized
...
Sam descriptors now implement a common interface
SynthesizedCallableMemberDescriptor, introduced in frontend.
BindingContext.SOURCE_DESCRIPTOR_FOR_SYNTHESIZED is no longer needed
2013-09-04 21:55:11 +04:00
Alexander Udalov
56ca247509
Improve JavaElement collection util
...
Get rid of giant code duplication
2013-09-04 21:55:11 +04:00
Alexander Udalov
eef86b4191
Get rid of getPsi() methods in JavaElement/JavaType hierarchy
2013-09-04 21:55:10 +04:00
Alexander Udalov
7e704832ed
Add inner classes to duplicateLibraries test
2013-09-04 21:55:10 +04:00
Alexander Udalov
31a13dc688
JavaPackage.getClasses() shouldn't be used directly
2013-09-04 21:55:10 +04:00
Alexander Udalov
e62a2bbf2f
Support any constant expressions as annotation arguments
2013-09-04 21:55:10 +04:00
Alexander Udalov
a17328f9d3
Minor, move ABI version error reporting
...
AbiVersionUtil will be used in descriptors.loader.java, so it cannot depend on
BindingTrace
2013-09-04 21:55:10 +04:00
Alexander Udalov
a2e4029bb5
Use ServiceLoader to load different implementations
2013-09-04 21:55:10 +04:00
Alexander Udalov
026d76ea42
Include META-INF/services in kotlin-compiler.jar
...
Otherwise services loaded with ServiceLoader wouldn't work in the standalone
compiler
2013-09-04 21:55:10 +04:00
Alexander Udalov
6549a1d10b
Minor, polish JavaClass
...
- move utility methods out from JavaClass to the usage site
- JavaClassifier extends JavaNamedElement
2013-09-04 21:55:10 +04:00
Alexander Udalov
5af28cd953
Make JavaElementImpl generic on underlying PSI type
2013-09-04 21:55:09 +04:00
Alexander Udalov
4cd238ddde
Pull down getPsi() method from JavaElement
2013-09-04 21:55:09 +04:00
Alexander Udalov
714dbe2df3
Move JavaElement implementations to 'impl' package
2013-09-04 21:55:09 +04:00
Alexander Udalov
ac4561a9e2
Extract interface out of JavaClass
2013-09-04 21:55:09 +04:00
Alexander Udalov
c64cfd7f76
Untie JavaTypeSubstitutor.EMPTY from PsiSubstitutor
2013-09-04 21:55:09 +04:00
Alexander Udalov
d14a7282ba
Extract interface out of JavaTypeSubstitutor
2013-09-04 21:55:09 +04:00
Alexander Udalov
2eb5754289
Extract interface out of JavaTypeProvider
2013-09-04 21:55:09 +04:00
Alexander Udalov
7f77290505
Extract interface out of JavaValueParameter
2013-09-04 21:55:09 +04:00
Alexander Udalov
8c1349b90e
Extract interface out of JavaTypeParameter
2013-09-04 21:55:08 +04:00
Alexander Udalov
214f290de7
Extract interface out of JavaSignatureFormatter
2013-09-04 21:55:08 +04:00
Alexander Udalov
f6b43bb7b2
Extract interfaces out of Java*Type
2013-09-04 21:55:08 +04:00
Alexander Udalov
08bf7f8eee
Create abstract JavaElementFactory
...
Needed to wrap the logic of creation of elements/types, right now only array
types
2013-09-04 21:55:08 +04:00
Alexander Udalov
9f44a1eb0d
Extract interface out of JavaType
2013-09-04 21:55:08 +04:00
Alexander Udalov
d364834168
Extract interfaces out of Java*AnnotationArgument
2013-09-04 21:55:08 +04:00
Alexander Udalov
90e0d51463
Extract interface out of JavaAnnotationArgument
2013-09-04 21:55:07 +04:00
Alexander Udalov
2191073761
Minor, remove useless method
2013-09-04 21:55:07 +04:00
Alexander Udalov
dc048f0edd
Extract interface out of JavaAnnotation
2013-09-04 21:55:07 +04:00
Alexander Udalov
912d3426a4
Extract interface out of JavaClassifier
2013-09-04 21:55:07 +04:00
Alexander Udalov
4f99cb6999
Extract interface out of JavaPackage
2013-09-04 21:55:07 +04:00
Alexander Udalov
49a19705d1
Extract interface out of JavaMethod
2013-09-04 21:55:07 +04:00
Alexander Udalov
37beb9e50f
Extract interface out of JavaField
2013-09-04 21:55:07 +04:00
Alexander Udalov
ed146e51f9
Add an abstraction over ProgressIndicationProvider
2013-09-04 21:55:07 +04:00
Alexander Udalov
28367a412a
Remove different usages of Guava and intellij-core from JDR
2013-09-04 21:55:06 +04:00
Alexander Udalov
b9f96fe960
Introduce JavaClass.OriginKind
...
Answers to the question: where had this class originated from
2013-09-04 21:55:06 +04:00