|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.jet.lang.diagnostics.DiagnosticUtils
public class DiagnosticUtils
| Nested Class Summary | |
|---|---|
static class |
DiagnosticUtils.LineAndColumn
|
| Method Summary | |
|---|---|
static java.lang.String |
atLocation(com.intellij.lang.ASTNode node)
|
static java.lang.String |
atLocation(BindingContext bindingContext,
DeclarationDescriptor descriptor)
|
static java.lang.String |
atLocation(JetExpression expression)
|
static java.lang.String |
atLocation(com.intellij.psi.PsiElement element)
|
static java.lang.String |
atLocation(com.intellij.psi.PsiFile file,
com.intellij.openapi.util.TextRange textRange)
|
static java.lang.String |
atLocation(com.intellij.psi.PsiFile file,
com.intellij.openapi.util.TextRange textRange,
com.intellij.openapi.editor.Document document)
|
static com.intellij.psi.PsiElement |
getClosestPsiElement(com.intellij.lang.ASTNode node)
|
static com.intellij.psi.PsiFile |
getContainingFile(com.intellij.lang.ASTNode node)
|
static DiagnosticUtils.LineAndColumn |
getLineAndColumn(Diagnostic diagnostic)
|
static DiagnosticUtils.LineAndColumn |
getLineAndColumnInPsiFile(com.intellij.psi.PsiFile file,
com.intellij.openapi.util.TextRange range)
|
static DiagnosticUtils.LineAndColumn |
offsetToLineAndColumn(com.intellij.openapi.editor.Document document,
int offset)
|
static java.util.List<Diagnostic> |
sortedDiagnostics(java.util.Collection<Diagnostic> diagnostics)
|
static void |
throwIfRunningOnServer(java.lang.Throwable e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String atLocation(BindingContext bindingContext,
DeclarationDescriptor descriptor)
public static java.lang.String atLocation(JetExpression expression)
public static java.lang.String atLocation(@NotNull
com.intellij.psi.PsiElement element)
public static java.lang.String atLocation(@NotNull
com.intellij.lang.ASTNode node)
@Nullable
public static com.intellij.psi.PsiElement getClosestPsiElement(@NotNull
com.intellij.lang.ASTNode node)
@NotNull
public static com.intellij.psi.PsiFile getContainingFile(@NotNull
com.intellij.lang.ASTNode node)
@NotNull
public static java.lang.String atLocation(@NotNull
com.intellij.psi.PsiFile file,
@NotNull
com.intellij.openapi.util.TextRange textRange)
@NotNull
public static java.lang.String atLocation(com.intellij.psi.PsiFile file,
com.intellij.openapi.util.TextRange textRange,
com.intellij.openapi.editor.Document document)
@NotNull
public static DiagnosticUtils.LineAndColumn getLineAndColumn(@NotNull
Diagnostic diagnostic)
@NotNull
public static DiagnosticUtils.LineAndColumn getLineAndColumnInPsiFile(com.intellij.psi.PsiFile file,
com.intellij.openapi.util.TextRange range)
@NotNull
public static DiagnosticUtils.LineAndColumn offsetToLineAndColumn(com.intellij.openapi.editor.Document document,
int offset)
public static void throwIfRunningOnServer(java.lang.Throwable e)
@NotNull
public static java.util.List<Diagnostic> sortedDiagnostics(@NotNull
java.util.Collection<Diagnostic> diagnostics)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||