Fixed typo

This commit is contained in:
Valentin Kipyatkov
2016-08-29 00:29:26 +03:00
parent 8bfc746f4b
commit d2ee10daa5
2 changed files with 5 additions and 3 deletions

View File

@@ -294,7 +294,9 @@ private class Processor(
is KtReferenceExpression -> {
val parent = element.parent
when (parent) {
is KtUserType -> return processDataClassUsageInUserType(parent)
is KtUserType -> {
return processDataClassUsageInUserType(parent)
}
is KtCallExpression -> {
if (element == parent.calleeExpression) {
@@ -444,7 +446,7 @@ private class Processor(
if (method != null && method.hasModifierProperty(PsiModifier.ABSTRACT)) {
val psiClass = method.containingClass
if (psiClass != null) {
testLog?.add("Resolved to java class to descriptor: ${psiClass.qualifiedName}")
testLog?.add("Resolved java class to descriptor: ${psiClass.qualifiedName}")
val classDescriptor = psiClass.resolveToDescriptor(target.getResolutionFacade())
if (classDescriptor != null && SingleAbstractMethodUtils.getSingleAbstractMethodOrNull(classDescriptor) != null) {

View File

@@ -1,4 +1,4 @@
Resolved to java class to descriptor: JavaSAM
Resolved java class to descriptor: JavaSAM
Searched inheritors of pack.A
Searched references to JavaClass.takeSAM() in Kotlin files
Searched references to JavaSAM in java files