public final class ErrorReportingUtils extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
atLocation(com.google.dart.compiler.backend.js.ast.JsExpression expression,
java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> arguments) |
static java.lang.String |
message(BindingContext context,
DeclarationDescriptor descriptor,
java.lang.String explainingMessage) |
static java.lang.String |
message(com.intellij.psi.PsiElement element) |
static java.lang.String |
message(com.intellij.psi.PsiElement expression,
java.lang.String messageText) |
static java.lang.RuntimeException |
reportErrorWithLocation(JetExpression selector,
java.lang.RuntimeException e) |
static java.lang.RuntimeException |
reportErrorWithLocation(java.lang.RuntimeException e,
DeclarationDescriptor descriptor,
BindingContext bindingContext) |
@NotNull public static java.lang.RuntimeException reportErrorWithLocation(@NotNull JetExpression selector, @NotNull java.lang.RuntimeException e)
@NotNull public static java.lang.String message(@NotNull com.intellij.psi.PsiElement expression, @NotNull java.lang.String messageText)
@NotNull public static java.lang.String message(@NotNull BindingContext context, @NotNull DeclarationDescriptor descriptor, @NotNull java.lang.String explainingMessage)
@NotNull public static java.lang.String message(@NotNull com.intellij.psi.PsiElement element)
@NotNull public static java.lang.RuntimeException reportErrorWithLocation(@NotNull java.lang.RuntimeException e, @NotNull DeclarationDescriptor descriptor, @NotNull BindingContext bindingContext)
@NotNull public static java.lang.String atLocation(@Nullable com.google.dart.compiler.backend.js.ast.JsExpression expression, @NotNull java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> arguments)