org.aspectj.lang.reflect

Interface Pointcut

public interface Pointcut

AspectJ runtime representation of a pointcut member inside a class or aspect.

Method Summary

AjType<T>
getDeclaringType()
The type that declared this pointcut
int
getModifiers()
The modifiers associated with the pointcut declaration.
String
getName()
The declared name of the pointcut.
String[]
getParameterNames()
The pointcut parameter names.
AjType[]
getParameterTypes()
The pointcut parameter types.
PointcutExpression
getPointcutExpression()
The pointcut expression associated with this pointcut.

Method Details

getDeclaringType

public AjType<T> getDeclaringType()
The type that declared this pointcut

getModifiers

public int getModifiers()
The modifiers associated with the pointcut declaration. Use java.lang.reflect.Modifier to interpret the return value

getName

public String getName()
The declared name of the pointcut.

getParameterNames

public String[] getParameterNames()
The pointcut parameter names. Returns an array of empty strings of length getParameterTypes().length if parameter names are not available at runtime.

getParameterTypes

public AjType[] getParameterTypes()
The pointcut parameter types.

getPointcutExpression

public PointcutExpression getPointcutExpression()
The pointcut expression associated with this pointcut.