public interface IMessage
Modifier and Type | Interface and Description |
---|---|
static class |
IMessage.Kind |
Modifier and Type | Field and Description |
---|---|
static IMessage.Kind |
ABORT |
static IMessage.Kind |
DEBUG |
static IMessage.Kind |
ERROR |
static IMessage.Kind |
FAIL |
static IMessage.Kind |
INFO |
static java.util.List<IMessage.Kind> |
KINDS
list of Kind in precedence order.
|
static IMessage[] |
RA_IMessage
no messages
|
static IMessage.Kind |
TASKTAG |
static IMessage.Kind |
WARNING |
static IMessage.Kind |
WEAVEINFO |
Modifier and Type | Method and Description |
---|---|
boolean |
getDeclared()
Caller can verify if this message came about because of a DEOW
|
java.lang.String |
getDetails() |
java.util.List<ISourceLocation> |
getExtraSourceLocations() |
int |
getID()
Return the ID of the message where applicable, see IProblem for list of valid IDs
|
IMessage.Kind |
getKind() |
java.lang.String |
getMessage() |
int |
getSourceEnd()
Return the end position of the problem (inclusive), or -1 if unknown.
|
ISourceLocation |
getSourceLocation() |
int |
getSourceStart()
Return the start position of the problem (inclusive), or -1 if unknown.
|
java.lang.Throwable |
getThrown() |
boolean |
isAbort() |
boolean |
isDebug() |
boolean |
isError() |
boolean |
isFailed() |
boolean |
isInfo() |
boolean |
isTaskTag() |
boolean |
isWarning() |
static final IMessage[] RA_IMessage
static final IMessage.Kind WEAVEINFO
static final IMessage.Kind INFO
static final IMessage.Kind DEBUG
static final IMessage.Kind TASKTAG
static final IMessage.Kind WARNING
static final IMessage.Kind ERROR
static final IMessage.Kind FAIL
static final IMessage.Kind ABORT
static final java.util.List<IMessage.Kind> KINDS
java.lang.String getMessage()
IMessage.Kind getKind()
boolean isError()
boolean isWarning()
boolean isDebug()
boolean isInfo()
boolean isAbort()
boolean isTaskTag()
boolean isFailed()
boolean getDeclared()
int getID()
int getSourceStart()
int getSourceEnd()
java.lang.Throwable getThrown()
ISourceLocation getSourceLocation()
java.lang.String getDetails()
java.util.List<ISourceLocation> getExtraSourceLocations()
ISourceLocation
instances that indicate additional source locations relevent to this message as
specified by the message creator. The list should not include the primary source location associated with the message
which can be obtained from getSourceLocation().
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.