org.jetbrains.jet.lang.resolve.java.resolver
Class TraceBasedErrorReporter

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.java.resolver.TraceBasedErrorReporter
All Implemented Interfaces:
ErrorReporter

public class TraceBasedErrorReporter
extends java.lang.Object
implements ErrorReporter


Field Summary
static WritableSlice<VirtualFileKotlinClass,java.lang.Integer> ABI_VERSION_ERRORS
           
 
Constructor Summary
TraceBasedErrorReporter()
           
 
Method Summary
 void reportAnnotationLoadingError(java.lang.String message, java.lang.Exception exception)
           
 void reportCannotInferVisibility(CallableMemberDescriptor descriptor)
           
 void reportIncompatibleAbiVersion(KotlinJvmBinaryClass kotlinClass, int actualVersion)
           
 void setTrace(BindingTrace trace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ABI_VERSION_ERRORS

public static final WritableSlice<VirtualFileKotlinClass,java.lang.Integer> ABI_VERSION_ERRORS
Constructor Detail

TraceBasedErrorReporter

public TraceBasedErrorReporter()
Method Detail

setTrace

@Inject
public void setTrace(BindingTrace trace)

reportIncompatibleAbiVersion

public void reportIncompatibleAbiVersion(@NotNull
                                         KotlinJvmBinaryClass kotlinClass,
                                         int actualVersion)
Specified by:
reportIncompatibleAbiVersion in interface ErrorReporter

reportCannotInferVisibility

public void reportCannotInferVisibility(@NotNull
                                        CallableMemberDescriptor descriptor)
Specified by:
reportCannotInferVisibility in interface ErrorReporter

reportAnnotationLoadingError

public void reportAnnotationLoadingError(@NotNull
                                         java.lang.String message,
                                         @Nullable
                                         java.lang.Exception exception)
Specified by:
reportAnnotationLoadingError in interface ErrorReporter