Svetlana Isakova
6f8f151db5
added java.lang.Comparable to JavaTypeTransformer
2012-07-20 19:34:55 +04:00
Svetlana Isakova
084566aac4
classDescriptorMap used instead of classTypeMap
...
in JavaTypeTransformer
so 'getKotlinAnalog' now is used instead of 'unwrapPrimitive'
classTypeMap removed,
=> removed now unnecessary numberType, throwableType, etc. from JetStandardLibrary
2012-07-20 19:34:55 +04:00
Andrey Breslav
e182041eb9
Escaping optimized
...
TODO: we have to integrate this optimization in IDEA
2012-07-13 12:52:55 +04:00
Alexander Udalov
5cc043314d
KT-2376 java.lang.Number should be visible in Kotlin as jet.Number
...
#KT-2376 Fixed
2012-07-11 14:31:10 +04:00
Evgeny Gerashchenko
4ece44728d
Added workaround for 'SAXParserFactory not found' error.
2012-07-10 19:59:42 +04:00
Andrey Breslav
7f6222cc4e
Fixing compilation after merge
2012-07-09 13:39:05 +04:00
Andrey Breslav
4d220fb980
Injector for bare JavaDescriptorResolver
2012-07-09 13:39:04 +04:00
Evgeny Gerashchenko
2c58989a47
Moved CompilerSpecialMode enum to compiler-tests, since it is now used only for creating test compiler configurations.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
aef2c372e1
Inlined the only usage of CompilerSpecialMode.isStubs().
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
6e7d08b478
Introduced BuiltinsScopeExtensionMode enum. Using it instead of CompilerSpecialMode to create JavaBridgeConfiguration.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
a0b636d561
Moved CompilerSpecialMode.includeXXX() methods into configuration generators to make it clear that they are used only during initialization.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
684d345dce
Removed CompilerDependencies class.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
c833ca251f
Moved CompilerDependencies.findRtJar() method to PathUtil.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
d9c645a57f
Got rid of dependency from InjectorForJavaSemanticServices on CompilerDependencies.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
5a88d28154
Got rid of dependency on compiler dependencies in injector for TDA for JVM.
2012-07-07 20:33:22 +04:00
Evgeny Gerashchenko
5e50f1928b
Renamed PsiClassFinderForJvm -> PsiClassFinderImpl.
2012-07-07 20:33:22 +04:00
Evgeny Gerashchenko
d8f74db060
Removed CompilerDependencies from PsiClassFinderForJvm.
2012-07-07 20:33:22 +04:00
Evgeny Gerashchenko
e14a0168c5
Removed AltClassFinder, since alt-headers are removed.
2012-07-07 20:33:22 +04:00
Evgeny Gerashchenko
77df57c150
Replaced jdk-headers with jdk-annotations everywhere.
2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko
53cdbe486d
Using valid member scope in descriptors created from alternative signatures.
2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko
9dec15d2b1
Using references to new type parameter descriptors in types when replacing signatures using alternative annotations.
2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko
fa3e3ee104
Registered annotations provider as a service instead of static class to avoid problems with projects disposal.
2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko
f11ecdc07b
Added workaround for CoreLocalVirtualFile.getInputStream() throwing assertion error.
2012-07-03 13:35:52 +04:00
Evgeny Gerashchenko
9d90f96573
Loading external annotations in JavaDescriptorResolver.
2012-07-03 13:35:52 +04:00
Evgeny Gerashchenko
d64a7397b3
Added default implementation for ExternalAnnotationsProvider to be used in compiler.
2012-07-03 13:35:52 +04:00
Evgeny Gerashchenko
cf1756aad3
Added extension point-like class ExternalAnnotationsProvider.
2012-07-03 13:35:52 +04:00
Evgeny Gerashchenko
ee1f1f3d56
Added check for extra and missing upper bounds in alternative signatures.
2012-06-27 00:44:14 +04:00
Evgeny Gerashchenko
e59120f002
Got rid of warnings in AlternativeSignatureData.
2012-06-27 00:44:13 +04:00
Evgeny Gerashchenko
9044ec775f
Minor reformatting.
2012-06-27 00:44:13 +04:00
Evgeny Gerashchenko
6f8f62cc9a
Introduced AlternativeSignatureData.fail() method throwing exception.
2012-06-27 00:44:12 +04:00
Evgeny Gerashchenko
572f66a2a1
Changed some static methods of AlternativeSignatureData to non-static, got rid of some unnecessary method parameters.
2012-06-27 00:44:12 +04:00
Evgeny Gerashchenko
5ae461b5ac
Made AlternativeSignatureMismatchException unchecked to make code simpler. Got rid of catching and rethrowings.
2012-06-27 00:44:12 +04:00
Evgeny Gerashchenko
2066fd19c2
Moved AlternativeSignatureMismatchException since it is the internal part of it now.
2012-06-27 00:44:11 +04:00
Evgeny Gerashchenko
4141015472
Converted AlternativeSignatureParsing static class into AlternativeSignatureData stateful class which contains result of all alternative signature parsing. This is needed to simplify JavaDescriptorResolver.
2012-06-27 00:44:11 +04:00
Evgeny Gerashchenko
c427a3b7aa
Renamed methods in AlternativeSignatureParsing, simplifying them.
2012-06-27 00:44:10 +04:00
Evgeny Gerashchenko
2840f6d3ba
Added checking for function name in alternative signature.
2012-06-27 00:44:10 +04:00
Evgeny Gerashchenko
d897ba754d
Added checking for missing return type in alternative signature.
2012-06-27 00:44:09 +04:00
Evgeny Gerashchenko
f0857d0081
Added checking type parameters count in alternative signatures.
2012-06-27 00:44:09 +04:00
Evgeny Gerashchenko
d9127fc34b
Added prohibiting adding of nullability in alternative signatures.
2012-06-27 00:44:09 +04:00
Evgeny Gerashchenko
a02ab2b348
Added checking for same variance in alternative signatures.
2012-06-27 00:44:08 +04:00
Evgeny Gerashchenko
178a10716b
Added checking vararg/not vararg in alternative signatures.
2012-06-27 00:44:08 +04:00
Evgeny Gerashchenko
a2066ab0ab
Added checking for FQ name prefixes in alternative signatures. Added tests.
2012-06-27 00:44:07 +04:00
Evgeny Gerashchenko
de83e93f28
Added checks for type arguments numbers in alternative signatures. Added tests.
2012-06-27 00:44:07 +04:00
Evgeny Gerashchenko
1649b208cb
Added check for value parameters number in alternative signatures loading.
2012-06-27 00:44:06 +04:00
Nikolay Krasko
8a11a885d0
An attempt to fix constant overwriting in function slice (EA-36390).
2012-06-26 19:33:26 +04:00
Alex Tkachman
c1802e2360
breakpoints for multi-file namespaces
2012-06-22 11:55:16 +03:00
Stepan Koltsov
11f2a98032
revert "DescriptorMatcher"
2012-06-18 20:53:55 +04:00
Stepan Koltsov
ea0c68929a
Revert "jdr: merge resolveMethod* methods, use DescriptorPredicate"
...
This reverts commit a87f3e2a45 .
2012-06-18 20:50:05 +04:00
Stepan Koltsov
fbab0b742c
Revert "smarter JavaClassOrPackageScope#getAllDescriptors"
...
This reverts commit 010db0495b .
2012-06-18 20:49:55 +04:00
Stepan Koltsov
5e1e685d69
Revert "jdr: properly fetch supertype member names"
...
This reverts commit 9b13a308f8 .
2012-06-18 20:42:33 +04:00