Top Description Methods
org.aspectj.lang.reflect

public Interface DeclareErrorOrWarning

Known Direct Implementers
org.aspectj.internal.lang.reflect.DeclareErrorOrWarningImpl

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

Method Summary

Modifier and TypeMethod and Description
public AjType<T>

Returns:

the type that declared this declare warning or declare error member.
getDeclaringType
()

public String

Returns:

the message associated with the declare warning / declare error
getMessage
()

public PointcutExpression

Returns:

the pointcut expression associated with the warning or error
getPointcutExpression
()

public boolean

Returns:

true if this is a declare error member, false if it is declare warning
isError
()

Method Detail

getDeclaringTypeback to summary
public AjType<T> getDeclaringType()
Returns:AjType<T>

the type that declared this declare warning or declare error member.

getMessageback to summary
public String getMessage()
Returns:String

the message associated with the declare warning / declare error

getPointcutExpressionback to summary
public PointcutExpression getPointcutExpression()
Returns:PointcutExpression

the pointcut expression associated with the warning or error

isErrorback to summary
public boolean isError()
Returns:boolean

true if this is a declare error member, false if it is declare warning