org.aspectj.lang.reflect

Interface DeclareErrorOrWarning

public interface DeclareErrorOrWarning

AspectJ runtime representation of a declare error or declare warning member in an aspect.

Method Summary

AjType<T>
getDeclaringType()
The type that declared this declare warning or declare error member.
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

Method Details

getDeclaringType

public AjType<T> getDeclaringType()
The type that declared this declare warning or declare error member.

getMessage

public String getMessage()
The message associated with the declare warning / declare error

getPointcutExpression

public PointcutExpression getPointcutExpression()
The pointcut expression associated with the warning or error

isError

public boolean isError()
True if this is a declare error member, false if it is declare warning