Get rid of 'class object' usages in code and builtins

Replace some comments and library usages as well
This commit is contained in:
Pavel V. Talanov
2015-03-25 15:09:18 +03:00
parent 67f84c0f76
commit ed218c473a
157 changed files with 187 additions and 187 deletions
@@ -25,7 +25,7 @@ import org.jetbrains.kotlin.resolve.scopes.JetScope
import org.jetbrains.kotlin.types.JetType
public trait SamConversionResolver {
public class object EMPTY : SamConversionResolver {
public companion object EMPTY : SamConversionResolver {
override fun <D : FunctionDescriptor> resolveSamAdapter(original: D) = null
override fun resolveSamConstructor(name: Name, scope: JetScope) = null
override fun resolveFunctionTypeIfSamInterface(
@@ -22,7 +22,7 @@ import org.jetbrains.kotlin.name.Name
// The purpose of this class is to hold a unique signature of either a method or a field, so that annotations on a member can be put
// into a map indexed by these signatures
data class MemberSignature private(private val signature: String) {
class object {
companion object {
platformStatic public fun fromMethodNameAndDesc(nameAndDesc: String): MemberSignature {
return MemberSignature(nameAndDesc)
}