explicit internal modifier for JetWholeProjectForEachElementOfTypeFix in order to get rid ot the following error:

Cannot access effectively non-public-api private constructor JetWholeProjectForEachElementOfTypeFix,
defined in org.jetbrains.kotlin.idea.quickfix.JetWholeProjectForEachElementOfTypeFix member from effectively public-api public final fun createForMultiTaskOnElement
This commit is contained in:
Michael Nedzelsky
2015-09-03 20:45:51 +03:00
parent 5e35161d99
commit 7b41106724
@@ -112,7 +112,7 @@ public abstract class JetWholeProjectModalByCollectionAction<TTask : Any>(modalT
abstract fun collectTasksForFile(project: Project, file: JetFile, accumulator: MutableCollection<TTask>)
}
class JetWholeProjectForEachElementOfTypeFix<TTask : Any> private constructor(
internal class JetWholeProjectForEachElementOfTypeFix<TTask : Any> private constructor(
private val collectingVisitorFactory: (MutableCollection<TTask>) -> JetVisitorVoid,
private val tasksProcessor: (Collection<TTask>) -> Unit,
private val name: String,