Minor: replace some usages of (old) package facade with new package parts

This commit is contained in:
Zalim Bashorov
2015-09-09 17:40:22 +03:00
parent 6850e9180e
commit 7036b36a94
76 changed files with 213 additions and 194 deletions
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:JvmName("FuzzyTypeUtils")
package org.jetbrains.kotlin.idea.util
import org.jetbrains.kotlin.descriptors.CallableDescriptor
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:JvmName("ImportsUtils")
package org.jetbrains.kotlin.idea.imports
import org.jetbrains.kotlin.descriptors.*
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:JvmName("TypeUtils")
package org.jetbrains.kotlin.idea.util
import org.jetbrains.kotlin.builtins.KotlinBuiltIns
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:JvmName("ExtensionUtils")
package org.jetbrains.kotlin.idea.util
import org.jetbrains.kotlin.descriptors.CallableDescriptor
@@ -129,4 +131,4 @@ public fun ReceiverValue.getThisReceiverOwner(bindingContext: BindingContext): D
else -> null
}
}
}
@@ -14,6 +14,8 @@
* limitations under the License.
*/
@file:JvmName("ScopeUtils")
package org.jetbrains.kotlin.idea.util
import org.jetbrains.kotlin.descriptors.FunctionDescriptor
@@ -39,4 +41,4 @@ public fun JetScope.getVariableFromImplicitReceivers(name: Name): VariableDescri
it.type.memberScope.getProperties(name, NoLookupLocation.FROM_IDE).singleOrNull()?.let { return it }
}
return null
}
}