public final class CompilerMessageImpl extends java.lang.Object implements CompilerMessage
EMPTY_ARRAY| Constructor and Description |
|---|
CompilerMessageImpl(Project project,
CompilerMessageCategory category,
java.lang.String message) |
CompilerMessageImpl(Project project,
CompilerMessageCategory category,
java.lang.String message,
VirtualFile file,
int row,
int column,
Navigatable navigatable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
CompilerMessageCategory |
getCategory()
Returns the category of the message.
|
int |
getColumn() |
java.lang.String |
getExportTextPrefix()
Returns the location prefix prepended to message while exporting compilation results to text.
|
int |
getLine() |
java.lang.String |
getMessage()
Returs the message text.
|
Navigatable |
getNavigatable()
Returns the navigatable object allowing to navigate to the message source.
|
java.lang.String |
getRenderTextPrefix()
Returns the location prefix prepended to message while exporting compilation results to text.
|
VirtualFile |
getVirtualFile()
Returns the file to which the message applies.
|
int |
hashCode() |
void |
setColumnAdjuster(TripleFunction<? super CompilerMessage,? super java.lang.Integer,? super java.lang.Integer,java.lang.Integer> columnAdjuster) |
java.lang.String |
toString() |
public CompilerMessageImpl(Project project, CompilerMessageCategory category, java.lang.String message)
public CompilerMessageImpl(Project project, CompilerMessageCategory category, java.lang.String message, VirtualFile file, int row, int column, Navigatable navigatable)
public void setColumnAdjuster(TripleFunction<? super CompilerMessage,? super java.lang.Integer,? super java.lang.Integer,java.lang.Integer> columnAdjuster)
public CompilerMessageCategory getCategory()
CompilerMessagegetCategory in interface CompilerMessagepublic java.lang.String getMessage()
CompilerMessagegetMessage in interface CompilerMessagepublic Navigatable getNavigatable()
CompilerMessagegetNavigatable in interface CompilerMessagepublic VirtualFile getVirtualFile()
CompilerMessagegetVirtualFile in interface CompilerMessagepublic java.lang.String getExportTextPrefix()
CompilerMessagegetExportTextPrefix in interface CompilerMessagepublic java.lang.String getRenderTextPrefix()
CompilerMessagegetRenderTextPrefix in interface CompilerMessagepublic int getLine()
public int getColumn()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object