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()
CompilerMessage
getCategory
in interface CompilerMessage
public java.lang.String getMessage()
CompilerMessage
getMessage
in interface CompilerMessage
public Navigatable getNavigatable()
CompilerMessage
getNavigatable
in interface CompilerMessage
public VirtualFile getVirtualFile()
CompilerMessage
getVirtualFile
in interface CompilerMessage
public java.lang.String getExportTextPrefix()
CompilerMessage
getExportTextPrefix
in interface CompilerMessage
public java.lang.String getRenderTextPrefix()
CompilerMessage
getRenderTextPrefix
in interface CompilerMessage
public int getLine()
public int getColumn()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object