Commit Graph

23699 Commits

Author SHA1 Message Date
Mikhail Zarechenskiy 2fcb46bb13 Override all methods from based visitor class 2015-07-01 22:25:28 +03:00
Evgeny Gerashchenko 8e3dd54477 Minor. Converted class with class object to object. 2015-07-01 21:21:35 +03:00
Pavel V. Talanov 15a4782a0c Move CompilationCanceledStatus and related utils to "util" module
It should not be in "frontend" since "jps bare plugin" artifact does not include "frontend" module
2015-07-01 21:21:35 +03:00
Pavel V. Talanov 9a9d70fd98 Decompiler: do not try to render function types with star projections prettily 2015-07-01 20:45:32 +03:00
Evgeny Gerashchenko 8fcbd44ad4 KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters
#KT-8137
 #EA-69470 fixed
2015-07-01 19:43:54 +03:00
Evgeny Gerashchenko 560654744c Checking exceptions in other threads. E.g. inspections pass thread. 2015-07-01 19:43:54 +03:00
Mikhail Glukhikh bae9a7d7f8 Types are no more rendered for annotation arguments + a swarm of tests corrected accordingly 2015-07-01 16:12:32 +03:00
Nikolay Krasko dde295011b Refactoring: rename file 2015-07-01 14:52:43 +03:00
Nikolay Krasko ef477f99e9 Create file must return new file, as old one can be invalidated (KT-8266)
Invalidation in SingleRootFileViewProvider.getPsiInner()

 #KT-8266 Fixed
2015-07-01 14:52:41 +03:00
Mikhail Glukhikh 7c7a0fb4ea trait to interface (StubInterfaces) 2015-06-30 19:46:33 +03:00
Mikhail Glukhikh 848c2afdb4 "is" over enum entry is now an error + new tests + test fixes 2015-06-30 19:46:30 +03:00
Mikhail Glukhikh e1d3b296e9 Exhaustive when over enum may now use "is" instead of comparison + a pair of tests 2015-06-30 19:46:28 +03:00
Pavel V. Talanov 786cadb08b Fix failing test in container test and add it to generators module test dependencies
This should enable running this test on build server
2015-06-30 17:06:22 +03:00
Pavel V. Talanov b173f96505 Refactor: Remove ScopeProvider, introduce FileScopeProviderImpl
Rename NoFileScopeProvider -> FileScopeProvider.ThrowException, ScopeProvider.AdditionalScopeProvider -> FileScopeProvider.AdditionalScopes
2015-06-30 16:12:23 +03:00
Dmitry Jemerov 7bcc3dd875 correct place for enabling alternative resolve in library configurator 2015-06-30 14:05:30 +02:00
Nikolay Krasko 8bea21a847 Introduce BodyResolveCache for storing resolve function body task in IDE 2015-06-30 13:54:42 +03:00
Nikolay Krasko 2dfed03b67 Refactoring: rename method addAllMyDataTo -> addOwnDataTo 2015-06-30 13:54:41 +03:00
Nikolay Krasko 09bb050c3f Add addOwnDataTo() to BindingContext 2015-06-30 13:54:40 +03:00
Nikolay Krasko 083023211e Refactoring: create trace inside each resolve task
This will allow reuse external cached results with their temp traces
2015-06-30 13:54:39 +03:00
Nikolay Krasko 980a0d19be Refactoring: don't register scopes explicitly, get them from scope provider on demand 2015-06-30 13:54:38 +03:00
Nikolay Krasko b81d8eb484 Refactoring: Don't depend on whole context if only DataFlowInfo is needed 2015-06-30 13:54:37 +03:00
Nikolay Krasko 0b49197ca3 Minor: suppress warning 2015-06-30 13:54:36 +03:00
Nikolay Krasko fad883e55b Minor: remove outdated commit 2015-06-30 13:54:36 +03:00
Valentin Kipyatkov 2f0bce375e Restored filtering out of empty name actions 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov 004b400089 DirectiveBasedActionUtils: added intentions to suppress warning to the list of ignored in tests to fix DeprecatedSymbolUsage.testJavaDeprecated() 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov eadeb6e63f DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov c0062b1199 Code simplifications 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov 09723b9991 Converted DirectiveBasedActionUtils to Kotlin 2015-06-30 13:41:41 +03:00
Valentin Kipyatkov 646653aa9a Better deparenthesizing 2015-06-29 19:36:50 +03:00
Valentin Kipyatkov 5b997c2c43 Moved method 2015-06-29 19:36:49 +03:00
Valentin Kipyatkov db144a6121 Suggestions from expression itself to have higher priority + fixed incorect upper case naming 2015-06-29 19:36:49 +03:00
Valentin Kipyatkov 4a52247ab7 Name validation filters out invisible declarations 2015-06-29 19:36:48 +03:00
Valentin Kipyatkov 5c0195ff68 IterateExpressionIntention: checking for name conflicts 2015-06-29 19:36:48 +03:00
Valentin Kipyatkov abb729b2ed Moved and renamed classes 2015-06-29 19:36:47 +03:00
Valentin Kipyatkov de2378f909 Rewritten NameValidatorImpl to be both more efficient and more correct 2015-06-29 19:36:47 +03:00
Valentin Kipyatkov df5f035760 KT-7716 Introduce Variable's name suggestions often have "1" at the end for no real reason
#KT-7716 Fixed
2015-06-29 19:36:46 +03:00
Valentin Kipyatkov ed267d9949 Code improvements in NameValidatorImpl 2015-06-29 19:36:46 +03:00
Valentin Kipyatkov e00294d17b IterateExpressionIntention uses collection expression for name suggestions too 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov 024834737d Removed unclear doc 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov f60470b3eb JetNameSuggester: no name duplicates + no full body resolve always 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov bce79906ef Use of List's instead of Array's 2015-06-29 19:36:44 +03:00
Valentin Kipyatkov 343604bce0 Minor 2015-06-29 19:36:44 +03:00
Valentin Kipyatkov a2407aaaa4 Minor code improvements 2015-06-29 19:36:43 +03:00
Valentin Kipyatkov 3dd811e73e Reordered methods 2015-06-29 19:36:43 +03:00
Valentin Kipyatkov c478f1d347 Renamed methods 2015-06-29 19:36:42 +03:00
Valentin Kipyatkov a02c86bac9 Refactored NameValidator getting rid of it and replacing with a function 2015-06-29 19:36:42 +03:00
Valentin Kipyatkov 79a453f12c Renamed classes 2015-06-29 19:36:41 +03:00
Valentin Kipyatkov ffa7492240 Moved classes 2015-06-29 19:31:21 +03:00
Valentin Kipyatkov 39f38591d9 Converted JetNameSuggester to Kotlin (step 2) 2015-06-29 19:31:21 +03:00
Valentin Kipyatkov 6f9e5ed386 Converted JetNameSuggester to Kotlin (step 1) 2015-06-29 19:31:21 +03:00