Commit Graph

4006 Commits

Author SHA1 Message Date
Evgeny Gerashchenko f4eba40f45 Added checks for navigation elements for cls members. 2012-03-12 15:59:07 +04:00
Evgeny Gerashchenko 128d074532 Moved WordSelectionTest to jet.plugin package. 2012-03-12 14:55:43 +04:00
Evgeny Gerashchenko 09c48ae440 Added test cases checking all decompiled files. 2012-03-12 14:23:15 +04:00
Evgeny Gerashchenko a0ea56be3f Added LibrariesTest (checking only one decompiled source yet). 2012-03-12 14:23:15 +04:00
Evgeny Gerashchenko 4151718f6b Replaced JetDecompiledData.getClsFileIfKotlin() with getClsFile() and isKotlinFile() 2012-03-12 14:23:15 +04:00
Evgeny Gerashchenko 95f859d00d Refactored JetDecompiledData: extracted DecompiledDataFactory. 2012-03-12 14:23:15 +04:00
Evgeny Gerashchenko 78dce9d2f2 Minor. 2012-03-11 16:57:02 +04:00
Evgeny Gerashchenko 11085c2250 Removed unnecessary /*compiled code*/ marks from abstract members. 2012-03-11 16:54:06 +04:00
Evgeny Gerashchenko f7c969de36 removed unnecessary ": jet.Any" in class declarations. 2012-03-10 20:32:43 +04:00
Evgeny Gerashchenko 126c3d0033 Added class objects support in JetDecompiledData. 2012-03-10 20:29:24 +04:00
Evgeny Gerashchenko e9bac5ce16 Added better rendering for objects in DescriptorRenderer. 2012-03-10 20:29:00 +04:00
Evgeny Gerashchenko 6ac94758e2 Added support for nested classes in decompiler. 2012-03-10 19:24:36 +04:00
Evgeny Gerashchenko d1f2c46d26 Removed unnecessary "abstract" before "trait" in DescriptorRenderer. 2012-03-10 19:23:32 +04:00
Evgeny Gerashchenko 7b895de86f Replaced assertion with returning null when class file contains several classes. 2012-03-10 18:29:16 +04:00
Evgeny Gerashchenko 145e8ed936 Made checks for Kotlin namespace more robust. 2012-03-10 16:25:27 +04:00
Evgeny Gerashchenko 011d6fb5ee Fixed navigation to non-Kotlin classes. 2012-03-10 15:32:10 +04:00
Evgeny Gerashchenko 351b2fd676 Specified return-type explicitly for FunctionalList.iterator() member function 2012-03-10 14:57:08 +04:00
Evgeny Gerashchenko b64e2ca886 Replaced asserts in JetDummyClassFileViewProvider with returning null. 2012-03-10 14:57:08 +04:00
Evgeny Gerashchenko 8f5d469a0c Replaced short names with fully qualified in DescriptorRenderer. 2012-03-10 14:57:08 +04:00
Evgeny Gerashchenko 9658dd7c39 Excluded classes from decompiled namespaces. 2012-03-10 14:57:08 +04:00
Evgeny Gerashchenko 4b6e9557a6 Made JetDummyClassFileViewProvider package-private. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko c2a300b637 Moved classes related to navigation to libraries to libraries subpackage of plugin package. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 2a9c124957 Added implementation of ClsCustomNavigationPolicy for Kotlin libraries. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 91adb13380 Added JetDummyClassFileViewProvider which is needed to JetFiles created from libraries have link to physical VirtualFile instead of LightVirtualFile. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 01ed1c3f75 Added saving mapping from ClsElements to JetElements in compiled classes. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 72fbdfa65e Extracted JetDecompiledData from JetContentBasedFileSubstitutor. It saves parsed Kotlin tree and text to user data of ClsFileImpl 2012-03-07 14:58:56 +04:00
Evgeny Gerashchenko 54a781edb6 Got rid of loading java stubs from class files: using ClsFile from PsiManager.findFile() instead. 2012-03-07 14:58:56 +04:00
Evgeny Gerashchenko d989fdfd3e Minor in DescriptorRenderer: added space after type parameters 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko b257a497d1 Added /* compiled code */ comments. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko ecf622dca4 Replaced hash sets with linked hash sets in JavaPackageScope. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko e810d73286 Some minor fixes in presentation of decompiled namespaces. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 61639e577e Added basic decompilation for namespace classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 5baf50cb92 Provided PSI file for decompiled Kotlin classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 2d492e5171 Added rendering class members. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 688fad7f8f Added COMPACT descriptor renderer (without "defined in ...") 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 16f4ec70e9 Replaced HashMap with LinkedHashMap in JavaClassMembersScope, JavaDescriptorResolver and JavaDescriptorResolverHelper (so the order of members is deterministic). 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 608787f639 Added explicit return-type annotation for FunctionalList.iterator() 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 7627cb6ed1 Removed redundant "final" in DescriptorRenderer. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 2950d87b95 Using JavaDescriptorResolver to resolve Kotlin compiled classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko a98532c46e Implemented simple class content subsitutor. 2012-03-07 14:58:55 +04:00
James Strachan 41f456583a added missing ivy file 2012-03-07 10:26:58 +00:00
James Strachan 585625bf2f refactored the comments to split the wiki markup into the first paragraph for the summary and the rest for the detail and to allow relative URL links to classes in wiki links 2012-03-07 10:26:53 +00:00
James Strachan a6254ec4aa fixed up comment 2012-03-07 10:26:53 +00:00
Evgeny Gerashchenko cb45426d44 Got rid of non-ASCII character in JetCompiler. 2012-03-07 13:55:22 +04:00
James Strachan ab8499be32 added a sample project for generating the kdoc reports via the maven plugin (snapshot version) 2012-03-07 09:53:52 +00:00
James Strachan 7af79bc31b added gitignore and pegdown version 2012-03-07 09:53:52 +00:00
Nikolay Krasko ec29e06115 - KT-1430 Import popup/type completion does not work for extension functions
- refactoring for auto import tests
2012-03-07 13:42:06 +04:00
Andrey Breslav a94b77ffc9 Revert GUICE introduction 2012-03-07 12:58:37 +04:00
Svetlana Isakova e9a7a909f6 KT-1402 Create new Kotlin object from a Java public static inner class 2012-03-07 12:09:03 +04:00
James Strachan f6244f75ea minor refactoring to allow plugins to be added to the BytecodeCompiler 2012-03-07 07:36:18 +00:00