public class DeclareErrorOrWarningImpl extends java.lang.Object implements DeclareErrorOrWarning
Constructor and Description |
---|
DeclareErrorOrWarningImpl(java.lang.String pointcut,
java.lang.String message,
boolean isError,
AjType decType) |
Modifier and Type | Method and Description |
---|---|
AjType |
getDeclaringType()
The type that declared this declare warning or declare error member.
|
java.lang.String |
getMessage()
The message associated with the declare warning / declare error
|
PointcutExpression |
getPointcutExpression()
The pointcut expression associated with the warning or error
|
boolean |
isError()
True if this is a declare error member, false if it is declare warning
|
java.lang.String |
toString() |
public DeclareErrorOrWarningImpl(java.lang.String pointcut, java.lang.String message, boolean isError, AjType decType)
public AjType getDeclaringType()
DeclareErrorOrWarning
getDeclaringType
in interface DeclareErrorOrWarning
public PointcutExpression getPointcutExpression()
DeclareErrorOrWarning
getPointcutExpression
in interface DeclareErrorOrWarning
public java.lang.String getMessage()
DeclareErrorOrWarning
getMessage
in interface DeclareErrorOrWarning
public boolean isError()
DeclareErrorOrWarning
isError
in interface DeclareErrorOrWarning
public java.lang.String toString()
toString
in class java.lang.Object