Commit Graph

13809 Commits

Author SHA1 Message Date
Andrey Breslav 7d10cfa4a5 Annotations.findAnnotation() added 2014-01-22 19:04:43 +04:00
Andrey Breslav 2ac0853225 Make room for laziness in the Annotations interface 2014-01-22 19:04:42 +04:00
Evgeny Gerashchenko 357fc55358 KT-4456 Generated wrong bytecode when Kotlin class inherited from Java Interface with method which have SAM type argument
#KT-4456 fixed
2014-01-22 16:09:03 +04:00
Andrey Breslav 7b61bdb9b1 Overload constructor of Composite iterator for lazy use cases
This time in the right file
2014-01-22 01:58:46 +04:00
Evgeny Gerashchenko 847d69ee2e Added tests for class object and nested objects. 2014-01-21 18:32:59 +04:00
Evgeny Gerashchenko 8e442bc509 Moved test data. 2014-01-21 18:32:58 +04:00
Evgeny Gerashchenko 461b64e0e7 Removed old injava completion test (all cases are covered by common source/binary tests). 2014-01-21 18:32:57 +04:00
Evgeny Gerashchenko d502c5af64 Moved injava handler test data. 2014-01-21 18:32:56 +04:00
Evgeny Gerashchenko a75490803a Test for completion of kotlin sources in java. Reused same test data. 2014-01-21 18:32:55 +04:00
Evgeny Gerashchenko e4b9c7fd40 Test for completion of kotlin binaries in java. 2014-01-21 18:32:54 +04:00
Andrey Breslav 816e9975ad Overload constructor of Composite iterator for lazy use cases 2014-01-21 16:20:19 +04:00
Alexey Sedunov 3e6f879571 Show call sites of overriden members in "Caller Hierarchy"
#KT-4395 Fixed
2014-01-21 13:53:22 +04:00
Alexey Sedunov 7ec21fc5ca Reuse applicability criteria 2014-01-21 13:31:32 +04:00
Alexey Sedunov c42e48ef21 Remove unnecessary overriding method 2014-01-21 13:31:32 +04:00
Andrey Breslav ce1702d633 Replace a hack (Internals class) with a less-of-a-hack workaround
LockBasedLazyResolveStorageManager is put into the same package as LockBasedStorageManager
2014-01-20 23:01:19 +04:00
Andrey Breslav 4936b66626 Do not hide annotations on light classes 2014-01-20 22:35:01 +04:00
Andrey Breslav b12b6c4080 Merge pull request #340 from Stebalien/fix-file-to_path-java7
Add annotation for `java.io.File.toPath()`
2014-01-20 08:37:57 -08:00
Andrey Breslav 2c61ff9085 Use Project SDK for jps-plugin 2014-01-20 20:12:17 +04:00
Steven Allen b8d4d07b12 Add annotation for java.io.File.toPath() 2014-01-20 11:09:33 -05:00
Andrey Breslav 77c340d872 Always use Project SDK 2014-01-20 20:08:28 +04:00
Pavel V. Talanov 491e8f2edb Formatter refactoring: move formatting rules to a separate file to avoid mixing up with helper code 2014-01-20 19:54:47 +04:00
Pavel V. Talanov 74dfac4bdb Formatter settings: expand example to demonstrate some of the new options 2014-01-20 19:54:46 +04:00
Pavel V. Talanov 4ef7086e5c Formatter: force keyword to be on exactly next line if the corresponding option is set 2014-01-20 19:54:45 +04:00
Pavel V. Talanov 53d503e242 Formatter: support "catch on new line" and "finally on new line" options 2014-01-20 19:54:44 +04:00
Pavel V. Talanov 7dc7db04b3 Formatter: support "while on new line" option 2014-01-20 19:54:43 +04:00
Pavel V. Talanov 5caabc20f6 Formatter: support "else on new line" option 2014-01-20 19:54:42 +04:00
Pavel V. Talanov 97487e7238 Formatter: UI for left brace placement option 2014-01-20 19:54:40 +04:00
Pavel V. Talanov f65740f2bd Formatter: left brace formatting for "when" expression and "when" entries 2014-01-20 19:54:39 +04:00
Pavel V. Talanov 03ad7ff49a Formatter: improve indentation rules for when entries 2014-01-20 19:54:38 +04:00
Pavel V. Talanov 7afc9bc30d Formatter: left brace formatting in class/trait/class object/object/object literal declarations 2014-01-20 19:54:37 +04:00
Pavel V. Talanov e1dab0e1c7 Formatter: left brace formatting for function declaration 2014-01-20 19:54:36 +04:00
Pavel V. Talanov e0b1170dc6 Formatter: left brace formatting for "for in ..." 2014-01-20 19:54:35 +04:00
Pavel V. Talanov 2aea631c1b Formatter: left brace formatting for "do while" 2014-01-20 19:54:34 +04:00
Pavel V. Talanov 7687e3d61f Formatter: left brace formatting for "try/catch/finally" 2014-01-20 19:54:33 +04:00
Pavel V. Talanov d3f8b70aa6 Formatter: left brace formatting for "while" statement 2014-01-20 19:54:32 +04:00
Pavel V. Talanov b404812a77 Formatter tests: minor, enhance "IfSpacing" test 2014-01-20 19:54:31 +04:00
Pavel V. Talanov a95a8c0368 Formatter: Move custom rule down by eliminating conflicting rule 2014-01-20 19:54:30 +04:00
Pavel V. Talanov ae473ba3ab Formatter tests: minor, enhance test for function literal 2014-01-20 19:54:29 +04:00
Pavel V. Talanov ec22470062 Formatter refactoring: Rewrite spacing rules to kotlin, place all rules in one place 2014-01-20 19:54:28 +04:00
Pavel V. Talanov 745252c23e Formatter tests: Separate test model for tests with inverted settings 2014-01-20 19:54:27 +04:00
Pavel V. Talanov 586ac35c7b Formatter tests: Fix wrong test file extension (prevented a bunch of formatter tests from running) 2014-01-20 19:54:26 +04:00
Pavel V. Talanov 2d6f8aef4e Formatter: introduce "Put left brace on new line option", support this option for "if/else" expressions 2014-01-20 19:54:25 +04:00
Pavel V. Talanov dab3cf37eb Convert Java to Kotlin action: minor improvements
Do not show "Do you want to backup?" dialog if no java files are selected
Improve the code
Change dialog title to Convert Java to Kotlin
Actually cancel if user presses cancel
2014-01-20 19:54:24 +04:00
Andrey Breslav 6ce0b9b919 Annotations used instead of List<AnnotationDescriptor> 2014-01-20 16:17:54 +04:00
Andrey Breslav 314b1e371b Test for the case when annotation arguments contain null in Java
This is an error in Java, but it may be present in the source by mistake
2014-01-20 16:17:53 +04:00
Andrey Breslav 8f56283771 Same storage manager used by lazy resolve session in AnalyzerFacadeForJVM and the rest of the components 2014-01-20 16:17:53 +04:00
Andrey Breslav 1af71c4dbe Using common storage manager for all lazy services 2014-01-20 16:17:53 +04:00
Nikolay Krasko 559f212cfc Redeclaration for same file in different files 2014-01-17 17:28:13 +04:00
Nikolay Krasko 6e25582019 Refactoring: remove unused variable, invert if (move common case to general return, remove boolean invert operator) 2014-01-17 17:28:12 +04:00
Nikolay Krasko ff747c0e34 Refactoring: move inner class to package level 2014-01-17 17:28:11 +04:00