Commit Graph

4 Commits

Author SHA1 Message Date
Alexey Sedunov 520e90acf1 Minor: Use kotlin.lazy instead of kotlin.Delegates.lazy in KtPsiFactory.CallableBuilder 2015-11-02 15:15:44 +03:00
Pavel V. Talanov 07d35d305e Create import list psi element even if no directives are present
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291
New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present
Add test for inserting import to file where a first statement is a comment
Drop code dealing with non-existing import list in ImportInsertHelperImpl
AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
2015-06-08 20:51:04 +03:00
Alexey Sedunov 5ae9bb600c Introduce Property: Place property before its usages 2015-03-04 23:06:07 +03:00
Alexey Sedunov 5382504306 Extraction Engine: Support lazy properties and properties with initializer 2015-03-04 23:06:03 +03:00