| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| private final List | |
| private final int | |
| private final IMessage. | |
| private final String | |
| private final int | |
| private final ISourceLocation | |
| private final int | |
| private final Throwable |
| Access | Constructor and Description |
|---|---|
| public | Message(String
the String used as the underlying message message, ISourceLocation the ISourceLocation, if any, associated with this message location, boolean if true, use IMessage.ERROR; else use IMessage.WARNING isError)Create a (compiler) error or warning message |
| public | Message(String message, ISourceLocation location, boolean isError, ISourceLocation[] extraSourceLocations)
|
| public | Message(String
the String used as the underlying message message, String descriptive information about the message details, IMessage.the IMessage.Kind of message - not null kind,the ISourceLocation, if any, associated with this message sourceLocation, Throwable the Throwable, if any, associated with this message thrown, ISourceLocation[] extraSourceLocations)Create a message, handling null values for message and kind if thrown is not null. |
| public | Message(String message, String details, IMessage.
|
| public | Message(String
the String used as the underlying message message, IMessage.the IMessage.Kind of message - not null kind,the Throwable, if any, associated with this message thrown, ISourceLocation the ISourceLocation, if any, associated with this message sourceLocation)Create a message, handling null values for message and kind if thrown is not null. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | getDeclared()
Implements org. |
| public String | |
| public List | getExtraSourceLocations()
Implements org. ISourceLocation instances that indicate additional source locations relevent to this message as
specified by the message creator.
|
| public int | getID()
Implements org. |
| public IMessage. | |
| public final String | Returns: non-null String with simple messageImplements org. |
| public int | getSourceEnd()
Implements org. |
| public final ISourceLocation | Returns: ISourceLocation associated with this message, or null if noneImplements org. |
| public int | getSourceStart()
Implements org. |
| public final Throwable | Returns: Throwable associated with this message, or null if noneImplements org. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if kind == IMessage.WARNINGImplements org. |
| public String |
| declared | back to summary |
|---|---|
| private final boolean declared | |
| details | back to summary |
|---|---|
| private final String details | |
| extraSourceLocations | back to summary |
|---|---|
| private final List<ISourceLocation> extraSourceLocations | |
| id | back to summary |
|---|---|
| private final int id | |
| kind | back to summary |
|---|---|
| private final IMessage. | |
| message | back to summary |
|---|---|
| private final String message | |
| sourceEnd | back to summary |
|---|---|
| private final int sourceEnd | |
| sourceLocation | back to summary |
|---|---|
| private final ISourceLocation sourceLocation | |
| sourceStart | back to summary |
|---|---|
| private final int sourceStart | |
| thrown | back to summary |
|---|---|
| private final Throwable thrown | |
| Message | back to summary |
|---|---|
| public Message(String message, ISourceLocation location, boolean isError) Create a (compiler) error or warning message
| |
| Message | back to summary |
|---|---|
| public Message(String message, ISourceLocation location, boolean isError, ISourceLocation[] extraSourceLocations) | |
| Message | back to summary |
|---|---|
| public Message(String message, String details, IMessage. Create a message, handling null values for message and kind if thrown is not null.
| |
| Message | back to summary |
|---|---|
| public Message(String message, String details, IMessage. | |
| Message | back to summary |
|---|---|
| public Message(String message, IMessage. Create a message, handling null values for message and kind if thrown is not null.
| |
| getDeclared | back to summary |
|---|---|
| public boolean getDeclared() Implements org. Caller can verify if this message came about because of a DEOW | |
| getDetails | back to summary |
|---|---|
| public String getDetails() Implements org.
| |
| getExtraSourceLocations | back to summary |
|---|---|
| public List Implements org. Doc from org. Return a List of
An example of using extra locations would be in a warning message that
flags all shadow locations that will go unmatched due to a pointcut definition
being based on a subtype of a defining type.
a list of additional source locations
| |
| getID | back to summary |
|---|---|
| public int getID() Implements org. Doc from org. Return the ID of the message where applicable, see IProblem for list of valid IDs | |
| getKind | back to summary |
|---|---|
| public IMessage. Implements org. | |
| getMessage | back to summary |
|---|---|
| public final String getMessage() Implements org.
| |
| getSourceEnd | back to summary |
|---|---|
| public int getSourceEnd() Implements org. Doc from org. Return the end position of the problem (inclusive), or -1 if unknown. | |
| getSourceLocation | back to summary |
|---|---|
| public final ISourceLocation getSourceLocation() Implements org.
| |
| getSourceStart | back to summary |
|---|---|
| public int getSourceStart() Implements org. Doc from org. Return the start position of the problem (inclusive), or -1 if unknown. | |
| getThrown | back to summary |
|---|---|
| public final Throwable getThrown() Implements org.
| |
| isAbort | back to summary |
|---|---|
| public boolean isAbort() Implements org.
| |
| isDebug | back to summary |
|---|---|
| public boolean isDebug() Implements org.
| |
| isError | back to summary |
|---|---|
| public boolean isError() Implements org.
| |
| isFailed | back to summary |
|---|---|
| public boolean isFailed() Implements org.
| |
| isInfo | back to summary |
|---|---|
| public boolean isInfo() Implements org.
| |
| isTaskTag | back to summary |
|---|---|
| public boolean isTaskTag() Implements org.
| |
| isUsage | back to summary |
|---|---|
| public boolean isUsage() Implements org.
| |
| isWarning | back to summary |
|---|---|
| public boolean isWarning() Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |