Commit Graph

9074 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 4cea564c2f Replaced JetFunction with JetNamedFunction.
Replaced JetDeclaration with JetNamedDeclaration.
2013-01-11 16:08:30 +04:00
Evgeny Gerashchenko 9684f05e7c Annotated with @Nullable/@NotNull. 2013-01-11 16:08:30 +04:00
Evgeny Gerashchenko 5314b7a81e Simplified method. 2013-01-11 16:08:29 +04:00
Evgeny Gerashchenko 1f665e35f1 Moved extracting member scope to separate methods. 2013-01-11 16:08:29 +04:00
Evgeny Gerashchenko f12b678234 Minor. Renamed variable. 2013-01-11 16:08:29 +04:00
Evgeny Gerashchenko 7e96501b81 Replaced some ifs with asserts. 2013-01-11 16:08:29 +04:00
Evgeny Gerashchenko c47704ab86 Got rid of code duplication. 2013-01-11 16:08:29 +04:00
Evgeny Gerashchenko c53450d528 Simplified JetClsNavigationPolicy. 2013-01-11 16:08:28 +04:00
Evgeny Gerashchenko 7bd87f64ac Supported navigation to source of named object and its members. 2013-01-11 16:08:28 +04:00
Evgeny Gerashchenko e16ff27e57 Supported navigation to decompiled named object and its members. 2013-01-11 16:08:28 +04:00
Evgeny Gerashchenko 859ef8432e Removed constructor parenthesis for named objects and enum entries. 2013-01-11 16:08:28 +04:00
Evgeny Gerashchenko a8da60414f receiverType parameter. 2013-01-11 16:08:27 +04:00
Evgeny Gerashchenko 9ee3c0de6d Renamed Matcher -> NavigationStrategy.
Extracted anonymous classes. Renamed methods.
2013-01-11 16:08:27 +04:00
Evgeny Gerashchenko 8c5e7de29d Renamed Matcher -> NavigationStrategy. Extracted anonymous classes. 2013-01-11 16:08:27 +04:00
Andrey Breslav 1a7b7db67f Unneeded lock & on-demand initialization removed 2013-01-11 14:38:04 +04:00
Andrey Breslav f26412aae4 Utility methods moved to a utility class 2013-01-10 16:16:49 +04:00
Andrey Breslav 9d538dad8a EA-36903 - ISE: JavaTypeTransformer$.visitClassType Fixed 2013-01-10 16:16:49 +04:00
Svetlana Isakova 33a82da493 supertype of error type should be an error type, not any 2013-01-10 15:55:50 +04:00
Svetlana Isakova 142d9a090c no senseless comparison for error type 2013-01-10 15:55:50 +04:00
Alexander Udalov 4cebd3f75b Fix last if-statement in block codegen
#KT-3203 Fixed
2013-01-10 14:05:28 +04:00
Pavel V. Talanov 293b272a22 Fix for a problem where inner (or nested) classes were not analyzed in some situations
# KT-3124 Fixed
2013-01-09 18:38:58 +04:00
Pavel V. Talanov ad848f2ebc Check for ClassKind in getClassifier() and getObjectDescriptor() implementations in java scopes
# KT-3124 fixed
2013-01-09 18:38:56 +04:00
Alexander Udalov 0fea6822c3 Fix codegen of loaded class objects
Remove useless check and todo.

 #KT-2717 Fixed
 #KT-3142 Fixed
2013-01-09 15:40:21 +04:00
Alexander Udalov a2e453b759 Refactor CompileKotlinAgainstKotlinTest
CKAKTest is now abstract, the actual testcases are generated via GenerateTests
into CompileKotlinAgainstKotlinTestGenerated.

Also invokeMain() now invokes namespace.main instead of bbb.namespace.main.
2013-01-09 15:32:51 +04:00
Svetlana Isakova 0b53bd25bd KT-2397 Prohibit final methods in traits with no implementation
#KT-2397 fixed
2012-12-29 20:08:10 +04:00
Svetlana Isakova 9bd4ed2a8d changed case for test file 2012-12-29 20:08:10 +04:00
Svetlana Isakova 55968aabad fixed an exception from 'getConstructorReferenceExpression'
(from exception analyzer)
2012-12-29 20:08:10 +04:00
Nikolay Krasko 4d4ba52378 Class.forName can't return null 2012-12-29 19:33:41 +04:00
Nikolay Krasko 0730248fb4 KT-3193 JDK annotation for java.net.Socket.bind
#KT-3193 Fixed
2012-12-29 19:29:03 +04:00
Nikolay Krasko 48445c23ef Early support for idea trunk 2012-12-29 16:46:19 +04:00
Evgeny Gerashchenko e03eaf6dde Removed @author javadocs from code. 2012-12-28 17:44:31 +04:00
Evgeny Gerashchenko 1de4da28fc Added test checking for @author in code. 2012-12-28 17:44:28 +04:00
Evgeny Gerashchenko 6d95bb7f70 Simplified JetCodeConformanceTest. 2012-12-28 16:42:43 +04:00
Evgeny Gerashchenko 55acb2a675 Fixed new lines issue in NamespaceComparator tests. 2012-12-28 14:45:48 +04:00
Evgeny Gerashchenko dda15f7505 Excluded class object names from FQ name and qualified name. 2012-12-28 14:25:34 +04:00
Evgeny Gerashchenko c041fc8fea Removed sorting of upper bounds in renderer.
Removed corresponding test.
2012-12-28 14:25:18 +04:00
Evgeny Gerashchenko 6fa36d330c Regenerated test data. 2012-12-28 14:25:18 +04:00
Evgeny Gerashchenko 28c93f2912 Not rendering "final" for top-level functions and properties. 2012-12-28 14:25:18 +04:00
Evgeny Gerashchenko 60f8c8a343 Rendering modality if it is "non-default". 2012-12-28 14:25:17 +04:00
Evgeny Gerashchenko 87b5356ef9 Rendering default value in parameter info if it is not constant, too. 2012-12-28 14:25:17 +04:00
Evgeny Gerashchenko 4eac6f0d27 Extracted LINE_SEPARATOR constant in Printer. 2012-12-27 20:47:00 +04:00
Evgeny Gerashchenko bc9f5da47e Rendering nice unicode arrow for function types in UI. 2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko c483a7f7cd Simplified code in NamespaceComparator. 2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko c0ce15ddfb Made parameter of renderType() @NotNull. 2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko 8659d14ba0 Introduced compareNamespaceWithFile() method. 2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko da7f4f3421 Escaping parameter names in "where". 2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko 862a6ffbbc Moved class object case to namespace comparing test. 2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko 0ce1c56999 Got rid of regexp check for java.lang.Object methods. 2012-12-27 20:46:58 +04:00
Evgeny Gerashchenko 5196a17f69 Code cleanup in NamespaceComparator. 2012-12-27 20:46:58 +04:00
Evgeny Gerashchenko 16aa79a828 Removed dead code in NamespaceComparator. 2012-12-27 20:46:58 +04:00