public class Problem extends Object implements ErrorTable.Entry
| Constructor and Description |
|---|
Problem(org.eclipse.jdt.core.compiler.IProblem iProblem,
int tabIndex,
int lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getImportSuggestions() |
org.eclipse.jdt.core.compiler.IProblem |
getIProblem() |
int |
getLineNumber() |
String |
getMessage() |
int |
getSourceLineNumber()
Remember to subtract a -1 to line number because in compile check code an
extra package statement is added, so all line numbers are increased by 1
|
int |
getStartOffset() |
int |
getStopOffset() |
int |
getTabIndex() |
boolean |
isError() |
boolean |
isWarning() |
static String |
process(org.eclipse.jdt.core.compiler.IProblem problem) |
static String |
process(String message)
Processes error messages and attempts to make them a bit more english like.
|
void |
setImportSuggestions(String[] a) |
void |
setPDEOffsets(int startOffset,
int stopOffset) |
void |
setType(int ProblemType) |
static String |
splitCamelCaseWord(String word) |
String |
toString() |
public static final int ERROR
public static final int WARNING
public Problem(org.eclipse.jdt.core.compiler.IProblem iProblem,
int tabIndex,
int lineNumber)
iProblem - - The IProblem which is being wrappedtabIndex - - The tab number to which the error belongs tolineNumber - - Line number(pde code) of the errorpublic void setPDEOffsets(int startOffset,
int stopOffset)
public int getStartOffset()
public int getStopOffset()
public boolean isError()
isError in interface ErrorTable.Entrypublic boolean isWarning()
isWarning in interface ErrorTable.Entrypublic String getMessage()
public org.eclipse.jdt.core.compiler.IProblem getIProblem()
public int getTabIndex()
public int getLineNumber()
public int getSourceLineNumber()
public void setType(int ProblemType)
public String[] getImportSuggestions()
public void setImportSuggestions(String[] a)
public static String process(org.eclipse.jdt.core.compiler.IProblem problem)
public static String process(String message)
message - - The message to be processedCopyright © 2001–2016 Processing Foundation. All rights reserved.