J2K: HighlightingVisitor, AfterAnalysisHighlightingVisitor
This commit is contained in:
+6
-10
@@ -14,15 +14,11 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.jetbrains.kotlin.idea.highlighter;
|
package org.jetbrains.kotlin.idea.highlighter
|
||||||
|
|
||||||
import com.intellij.lang.annotation.AnnotationHolder;
|
import com.intellij.lang.annotation.AnnotationHolder
|
||||||
import org.jetbrains.kotlin.psi.KtVisitorVoid;
|
import org.jetbrains.kotlin.resolve.BindingContext
|
||||||
|
|
||||||
public abstract class HighlightingVisitor extends KtVisitorVoid {
|
internal abstract class AfterAnalysisHighlightingVisitor protected constructor(
|
||||||
protected AnnotationHolder holder;
|
holder: AnnotationHolder, protected var bindingContext: BindingContext
|
||||||
|
) : HighlightingVisitor(holder)
|
||||||
protected HighlightingVisitor(AnnotationHolder holder) {
|
|
||||||
this.holder = holder;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+4
-11
@@ -14,16 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.jetbrains.kotlin.idea.highlighter;
|
package org.jetbrains.kotlin.idea.highlighter
|
||||||
|
|
||||||
import com.intellij.lang.annotation.AnnotationHolder;
|
import com.intellij.lang.annotation.AnnotationHolder
|
||||||
import org.jetbrains.kotlin.resolve.BindingContext;
|
import org.jetbrains.kotlin.psi.KtVisitorVoid
|
||||||
|
|
||||||
abstract class AfterAnalysisHighlightingVisitor extends HighlightingVisitor {
|
abstract class HighlightingVisitor protected constructor(protected var holder: AnnotationHolder) : KtVisitorVoid()
|
||||||
protected BindingContext bindingContext;
|
|
||||||
|
|
||||||
protected AfterAnalysisHighlightingVisitor(AnnotationHolder holder, BindingContext bindingContext) {
|
|
||||||
super(holder);
|
|
||||||
this.bindingContext = bindingContext;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user