org.aspectj.internal.lang.reflect
Class DeclareErrorOrWarningImpl

java.lang.Object
  extended by org.aspectj.internal.lang.reflect.DeclareErrorOrWarningImpl
All Implemented Interfaces:
DeclareErrorOrWarning

public class DeclareErrorOrWarningImpl
extends java.lang.Object
implements DeclareErrorOrWarning

Author:
colyer

Constructor Summary
DeclareErrorOrWarningImpl(java.lang.String pointcut, java.lang.String message, boolean isError, AjType decType)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeclareErrorOrWarningImpl

public DeclareErrorOrWarningImpl(java.lang.String pointcut,
                                 java.lang.String message,
                                 boolean isError,
                                 AjType decType)
Method Detail

getDeclaringType

public AjType getDeclaringType()
Description copied from interface: DeclareErrorOrWarning
The type that declared this declare warning or declare error member.

Specified by:
getDeclaringType in interface DeclareErrorOrWarning

getPointcutExpression

public PointcutExpression getPointcutExpression()
Description copied from interface: DeclareErrorOrWarning
The pointcut expression associated with the warning or error

Specified by:
getPointcutExpression in interface DeclareErrorOrWarning

getMessage

public java.lang.String getMessage()
Description copied from interface: DeclareErrorOrWarning
The message associated with the declare warning / declare error

Specified by:
getMessage in interface DeclareErrorOrWarning

isError

public boolean isError()
Description copied from interface: DeclareErrorOrWarning
True if this is a declare error member, false if it is declare warning

Specified by:
isError in interface DeclareErrorOrWarning

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object