Rename: Process property accesor usages (Java) in comments and string literals

#KT-9435 Fixed
(cherry picked from commit 911afee)
This commit is contained in:
Alexey Sedunov
2016-06-14 21:01:25 +03:00
parent 14b6c1930e
commit 04f54bee88
10 changed files with 88 additions and 1 deletions
@@ -26,7 +26,7 @@ import org.jetbrains.kotlin.name.FqName
import org.jetbrains.kotlin.psi.KtFile
open class FakeFileForLightClass(
private val ktFile: KtFile,
protected val ktFile: KtFile,
private val lightClass: () -> KtLightClass,
private val stub: () -> PsiClassHolderFileStub<*>,
private val packageFqName: FqName = ktFile.packageFqName
@@ -185,6 +185,8 @@ open class KtLightClassForExplicitDeclaration(
{ if (classOrObject.isTopLevel()) this else create(getOutermostClassOrObject(classOrObject))!! },
{ getJavaFileStub() }
) {
override fun findReferenceAt(offset: Int) = ktFile.findReferenceAt(offset)
override fun processDeclarations(
processor: PsiScopeProcessor,
state: ResolveState,