Commit Graph

2482 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 9601762b2c Subclassed from PsiClassHolderFileStub. 2013-06-06 21:35:02 +04:00
Svetlana Isakova 92424edb29 refactoring
extracted variables
added method 'replaceCall' to ResolutionTask
removed unused parameter
2013-06-06 17:20:11 +04:00
Svetlana Isakova ca88a01e1d no 'dangling function literal' check for nested calls 2013-06-06 17:20:10 +04:00
Svetlana Isakova 4e6ec64d9a changed resolution candidates order
for foo()
first try 'this.foo()', then 'foo()'
2013-06-06 17:20:10 +04:00
Svetlana Isakova 12ef42b6ae small refactoring 2013-06-06 16:31:13 +04:00
Alexey Sedunov ef2af3a4e8 Fix brace node extraction from class initializer 2013-06-05 16:03:51 +04:00
Alexey Sedunov 7805ee01eb Fix moving of value parameters and arguments 2013-06-05 15:51:27 +04:00
Alexey Sedunov 57edbdfbc4 Allow moving out to arbitrary blocks and moving any declaration into class body 2013-06-05 15:50:53 +04:00
Alexey Sedunov b00ec82884 Implement "move expression up/down" action handler 2013-06-05 15:50:47 +04:00
Alexey Sedunov fe8891299b Implement "move class-level declaration up/down" action handler 2013-06-05 15:50:41 +04:00
Alexey Sedunov 3a2e30152a Improve parser recovery for list of value parameters/arguments 2013-06-05 15:49:33 +04:00
Alexey Sedunov 3a635c537e Move JetPsiMatcher with tests to plugin module 2013-06-05 15:03:17 +04:00
Svetlana Isakova 7e564de71a added constraint for package level delegated property 2013-06-04 22:11:43 +04:00
Svetlana Isakova 2b0616b1c4 rename
ERROR_IDENTIFIER_INFO -> NO_IDENTIFIER_INFO
2013-06-04 22:11:43 +04:00
Svetlana Isakova 2337f4b948 bug fix
do not combine receiverInfo with error selectorInfo
2013-06-04 22:11:43 +04:00
Svetlana Isakova ecec6acde8 use explicit type of delegated property as expected
while resolving constraint system for delegated expression
2013-06-04 22:11:43 +04:00
Svetlana Isakova 61f50fc832 removed 'allowNamespaces' flag
from creating IdentifierInfo
2013-05-31 16:29:07 +04:00
Svetlana Isakova 42b34586bd made ReceiverValueVisitor an interface 2013-05-31 16:29:07 +04:00
Svetlana Isakova f05f616230 KT-2422 Invalid warning "Condition is always true"
#KT-2422 fixed
2013-05-31 16:29:07 +04:00
Sergey Rostov bcc2c46e99 KDoc wiki links pair matcher and @tags highlighter 2013-05-28 13:05:29 +04:00
Sergey Rostov 12e20378a2 KDoc lexer refactored (got rid of hacks and separate tokens for words). Fixed bug with isInComment(element) detection. 2013-05-28 13:05:28 +04:00
Sergey Rostov 365f097904 Update KetTokens.Comments TokenSet 2013-05-28 13:05:28 +04:00
Sergey Rostov 5ff1f746d4 KT-1545, KT-3161 KDoc lexer & parser 2013-05-28 13:05:28 +04:00
Michał Sapalski cacb4b26e4 Support for generic classes in quickfix for NOTHING_TO_OVERRIDE 2013-05-28 12:02:55 +04:00
Evgeny Gerashchenko 43b9a9d434 Renamed Name.getName() and FqName.getFqName() to asString() 2013-05-21 17:56:05 +04:00
Evgeny Gerashchenko 86d60aea9f Minor. Replaced for with for each. 2013-05-21 17:52:14 +04:00
Natalia.Ukhorskaya 4c9174d49b Don't create stubs for properties in delegate expression 2013-05-21 14:38:52 +04:00
Nikolay Krasko 5ca4df3d1d KT-3618 Missing space in error message "inconstructor"
#KT-3618 Fixed
2013-05-20 17:56:26 +04:00
Nikolay Krasko ddb7b54eee KT-3620 Don't auto-import js.* and remove in optimize imports
KT-3620 Fixed
2013-05-20 17:56:24 +04:00
Nikolay Krasko 3a2a932e2f Add utility method for getting class from constructor parameter 2013-05-20 15:52:52 +04:00
Nikolay Krasko 3c087965f1 Add presentation renderer for field declared in constructor 2013-05-20 14:17:44 +04:00
Michał Sapalski b2bb581127 Quickfix for MIXING_NAMED_AND_POSITIONED_ARGUMENTS. 2013-05-17 13:01:29 +04:00
Alexey Sedunov 9442f96b87 Extract getText() method 2013-05-15 19:01:42 +04:00
Alexey Sedunov b2b7bce99a Relax transformation assertions 2013-05-15 18:51:14 +04:00
Alexey Sedunov 4ab816a888 Add nullability annotations 2013-05-15 18:29:41 +04:00
Alexey Sedunov d2f3dd1629 JetPsiMatcher: reimplement using visitor, add structural type matching 2013-05-15 18:29:14 +04:00
Alexey Sedunov 4ee59e351b Move "else" extractor to JetWhenExpression 2013-05-15 12:58:01 +04:00
Alexey Sedunov d30e8d88fb Get rid of excessive replaces 2013-05-15 12:57:59 +04:00
Alexey Sedunov a1613d8b81 Implement 'when' transformations (flatten, introduce subject, eliminate subject) 2013-05-15 12:57:54 +04:00
Alexey Sedunov c054c0cdbe Add factory methods for parenthesized expressions 2013-05-15 12:57:52 +04:00
Alexey Sedunov 36b68786b0 Add new-line flags to 'if' factory method 2013-05-15 12:57:51 +04:00
Alexey Sedunov 057528eb39 Add 'when' builder and creation of 'is' expressions 2013-05-15 12:57:50 +04:00
Alexey Sedunov b7bc251311 Add extraction of 'else' branch of 'when' expression 2013-05-15 12:57:49 +04:00
Alexey Sedunov d5e78c3bd5 Add support of comments in asymmetric returns 2013-05-15 12:57:38 +04:00
Alexey Sedunov 97b53000ab Add @NotNull annotation to factory methods 2013-05-15 12:57:36 +04:00
Alexey Sedunov 89030d1ced Make predicate non-nullable 2013-05-15 12:57:35 +04:00
Alexey Sedunov 216f865658 Move assertion out of if statement 2013-05-15 12:57:34 +04:00
Alexey Sedunov 033e82666d Extract method for else branch check in when expression 2013-05-15 12:57:32 +04:00
Alexey Sedunov 51658c65de Add folding/unfolding operations for branched control structures 2013-05-15 12:57:28 +04:00
Alexey Sedunov e4de51468f Add construction of "return" and "if" expressions to JetPsiFactory 2013-05-15 12:57:27 +04:00