Package org.aspectj.bridge
Class Message
- java.lang.Object
-
- org.aspectj.bridge.Message
-
- All Implemented Interfaces:
IMessage
- Direct Known Subclasses:
LintMessage,WeaveMessage
public class Message extends Object implements IMessage
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.aspectj.bridge.IMessage
IMessage.Kind
-
-
Constructor Summary
Constructors Constructor Description Message(String message, String details, IMessage.Kind kind, ISourceLocation sourceLocation, Throwable thrown, ISourceLocation[] extraSourceLocations)Message(String message, String details, IMessage.Kind kind, ISourceLocation sLoc, Throwable thrown, ISourceLocation[] otherLocs, boolean declared, int id, int sourcestart, int sourceend)Message(String message, IMessage.Kind kind, Throwable thrown, ISourceLocation sourceLocation)Message(String message, ISourceLocation location, boolean isError)Message(String message, ISourceLocation location, boolean isError, ISourceLocation[] extraSourceLocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetDeclared()StringgetDetails()List<ISourceLocation>getExtraSourceLocations()intgetID()IMessage.KindgetKind()StringgetMessage()intgetSourceEnd()ISourceLocationgetSourceLocation()intgetSourceStart()ThrowablegetThrown()booleanisAbort()booleanisDebug()booleanisError()booleanisFailed()booleanisInfo()booleanisTaskTag()booleanisUsage()booleanisWarning()StringtoString()
-
-
-
Constructor Detail
-
Message
public Message(String message, ISourceLocation location, boolean isError)
-
Message
public Message(String message, ISourceLocation location, boolean isError, ISourceLocation[] extraSourceLocations)
-
Message
public Message(String message, String details, IMessage.Kind kind, ISourceLocation sourceLocation, Throwable thrown, ISourceLocation[] extraSourceLocations)
-
Message
public Message(String message, String details, IMessage.Kind kind, ISourceLocation sLoc, Throwable thrown, ISourceLocation[] otherLocs, boolean declared, int id, int sourcestart, int sourceend)
-
Message
public Message(String message, IMessage.Kind kind, Throwable thrown, ISourceLocation sourceLocation)
-
-
Method Detail
-
getKind
public IMessage.Kind getKind()
-
getDeclared
public boolean getDeclared()
- Specified by:
getDeclaredin interfaceIMessage
-
getMessage
public final String getMessage()
- Specified by:
getMessagein interfaceIMessage
-
getSourceLocation
public final ISourceLocation getSourceLocation()
- Specified by:
getSourceLocationin interfaceIMessage
-
getDetails
public String getDetails()
- Specified by:
getDetailsin interfaceIMessage
-
getExtraSourceLocations
public List<ISourceLocation> getExtraSourceLocations()
- Specified by:
getExtraSourceLocationsin interfaceIMessage
-
getSourceStart
public int getSourceStart()
- Specified by:
getSourceStartin interfaceIMessage
-
getSourceEnd
public int getSourceEnd()
- Specified by:
getSourceEndin interfaceIMessage
-
-