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()
DeclareErrorOrWarninggetDeclaringType in interface DeclareErrorOrWarningpublic PointcutExpression getPointcutExpression()
DeclareErrorOrWarninggetPointcutExpression in interface DeclareErrorOrWarningpublic java.lang.String getMessage()
DeclareErrorOrWarninggetMessage in interface DeclareErrorOrWarningpublic boolean isError()
DeclareErrorOrWarningisError in interface DeclareErrorOrWarningpublic java.lang.String toString()
toString in class java.lang.Object