Rename jet to kotlin in plugin-api

This commit is contained in:
Yan Zhulanow
2015-02-04 19:09:53 +03:00
parent b2f323908b
commit 9aef9b2643
11 changed files with 14 additions and 16 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2014 JetBrains s.r.o.
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,8 +14,9 @@
* limitations under the License.
*/
package org.jetbrains.jet.extensions
package org.jetbrains.kotlin.extensions
import org.jetbrains.kotlin.extensions.ProjectExtensionDescriptor
import org.jetbrains.kotlin.analyzer.ModuleInfo
import org.jetbrains.kotlin.psi.JetFile
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2014 JetBrains s.r.o.
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,12 +14,12 @@
* limitations under the License.
*/
package org.jetbrains.jet.extensions
package org.jetbrains.kotlin.extensions
import com.intellij.openapi.extensions.ExtensionPointName
import com.intellij.openapi.project.Project
import com.intellij.openapi.extensions.Extensions
import com.intellij.openapi.extensions.ExtensionPoint
import com.intellij.openapi.extensions.Extensions
public open class ProjectExtensionDescriptor<T>(name: String, private val extensionClass: Class<T>) {
public val extensionPointName: ExtensionPointName<T> = ExtensionPointName.create(name)!!
@@ -42,5 +42,4 @@ public open class ProjectExtensionDescriptor<T>(name: String, private val extens
return projectArea.getExtensionPoint(extensionPointName).getExtensions().toList()
}
}
}