Top Fields Constructors Methods
org.aspectj.internal.lang.reflect

public Class DeclareErrorOrWarningImpl

extends Object
implements DeclareErrorOrWarning
Class Inheritance
All Implemented Interfaces
org.aspectj.lang.reflect.DeclareErrorOrWarning
Imports
org.aspectj.lang.reflect.AjType, .DeclareErrorOrWarning, .PointcutExpression

Author
colyer

Field Summary

Modifier and TypeField and Description
private AjType<?>
private boolean
private String
private PointcutExpression

Constructor Summary

AccessConstructor and Description
public
DeclareErrorOrWarningImpl(String pointcut, String message, boolean isError, AjType<T> decType)

Method Summary

Modifier and TypeMethod and Description
public AjType<T>
public String
public PointcutExpression
public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

declaringTypeback to summary
private AjType<?> declaringType
isErrorback to summary
private boolean isError
msgback to summary
private String msg
pcback to summary
private PointcutExpression pc

Constructor Detail

DeclareErrorOrWarningImplback to summary
public DeclareErrorOrWarningImpl(String pointcut, String message, boolean isError, AjType<T> decType)

Method Detail

getDeclaringTypeback to summary
public AjType<T> getDeclaringType()

Implements org.aspectj.lang.reflect.DeclareErrorOrWarning.getDeclaringType.

Returns:AjType<T>

Doc from org.aspectj.lang.reflect.DeclareErrorOrWarning.getDeclaringType.

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

getMessageback to summary
public String getMessage()

Implements org.aspectj.lang.reflect.DeclareErrorOrWarning.getMessage.

Returns:String

Doc from org.aspectj.lang.reflect.DeclareErrorOrWarning.getMessage.

the message associated with the declare warning / declare error

getPointcutExpressionback to summary
public PointcutExpression getPointcutExpression()

Implements org.aspectj.lang.reflect.DeclareErrorOrWarning.getPointcutExpression.

Returns:PointcutExpression

Doc from org.aspectj.lang.reflect.DeclareErrorOrWarning.getPointcutExpression.

the pointcut expression associated with the warning or error

isErrorback to summary
public boolean isError()

Implements org.aspectj.lang.reflect.DeclareErrorOrWarning.isError.

Returns:boolean

Doc from org.aspectj.lang.reflect.DeclareErrorOrWarning.isError.

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

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.