org.jetbrains.jet.cli.common.messages
Class AnalyzerWithCompilerReport
java.lang.Object
org.jetbrains.jet.cli.common.messages.AnalyzerWithCompilerReport
public final class AnalyzerWithCompilerReport
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnalyzerWithCompilerReport
public AnalyzerWithCompilerReport(@NotNull
MessageCollector collector)
reportDiagnostics
public static boolean reportDiagnostics(@NotNull
Diagnostics diagnostics,
@NotNull
MessageCollector messageCollector)
reportSyntaxErrors
public static AnalyzerWithCompilerReport.SyntaxErrorReport reportSyntaxErrors(@NotNull
com.intellij.psi.PsiElement file,
@NotNull
MessageCollector messageCollector)
getAnalysisResult
@Nullable
public AnalysisResult getAnalysisResult()
hasErrors
public boolean hasErrors()
analyzeAndReport
public void analyzeAndReport(@NotNull
java.util.Collection<JetFile> files,
@NotNull
kotlin.Function0<AnalysisResult> analyzer)