Class LintMessage
java.lang.Object
org.aspectj.bridge.Message
org.aspectj.weaver.LintMessage
- All Implemented Interfaces:
IMessage
-
Nested Class Summary
Nested classes/interfaces inherited from interface IMessage
IMessage.Kind -
Field Summary
Fields inherited from interface IMessage
ABORT, DEBUG, ERROR, FAIL, INFO, KINDS, RA_IMessage, TASKTAG, USAGE, WARNING, WEAVEINFOModifier and TypeFieldDescriptionstatic final IMessage.Kindstatic final IMessage.Kindstatic final IMessage.Kindstatic final IMessage.Kindstatic final IMessage.Kindstatic final List<IMessage.Kind> list of Kind in precedence order.static final IMessage[]no messagesstatic final IMessage.Kindstatic final IMessage.Kindstatic final IMessage.Kindstatic final IMessage.Kind -
Constructor Summary
ConstructorsConstructorDescriptionLintMessage(String message, String extraDetails, Lint.Kind kind2, IMessage.Kind kind, ISourceLocation sourceLocation, Throwable object, ISourceLocation[] seeAlsoLocations, boolean declared, int id, int sourceStart, int sourceEnd) LintMessage(String message, IMessage.Kind messageKind, ISourceLocation location, ISourceLocation[] extraLocations, Lint.Kind lintKind) -
Method Summary
Methods inherited from class Message
getDeclared, getDetails, getExtraSourceLocations, getID, getKind, getMessage, getSourceEnd, getSourceLocation, getSourceStart, getThrown, isAbort, isDebug, isError, isFailed, isInfo, isTaskTag, isUsage, isWarning, toStringModifier and TypeMethodDescriptionbooleanCaller can verify if this message came about because of a DEOWReturn a List ofISourceLocationinstances that indicate additional source locations relevent to this message as specified by the message creator.intgetID()Return the ID of the message where applicable, see IProblem for list of valid IDsgetKind()final StringintReturn the end position of the problem (inclusive), or -1 if unknown.final ISourceLocationintReturn the start position of the problem (inclusive), or -1 if unknown.final ThrowablebooleanisAbort()booleanisDebug()booleanisError()booleanisFailed()booleanisInfo()booleanbooleanisUsage()booleantoString()
-
Constructor Details
-
LintMessage
public LintMessage(String message, IMessage.Kind messageKind, ISourceLocation location, ISourceLocation[] extraLocations, Lint.Kind lintKind) -
LintMessage
public LintMessage(String message, String extraDetails, Lint.Kind kind2, IMessage.Kind kind, ISourceLocation sourceLocation, Throwable object, ISourceLocation[] seeAlsoLocations, boolean declared, int id, int sourceStart, int sourceEnd)
-
-
Method Details
-
getLintKind
- Returns:
- Returns the Lint kind of this message
-