abc.weaving.aspectinfo
Class PointcutDecl

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.InAspect
          extended by abc.weaving.aspectinfo.PointcutDecl

public class PointcutDecl
extends InAspect

A pointcut declaration.

Author:
Aske Simon Christensen

Constructor Summary
PointcutDecl(java.lang.String name, java.util.List formals, Pointcut pc, Aspect aspct, Position pos)
          Create a pointcut declaration.
 
Method Summary
 java.util.List getFormals()
          Get the formals of the pointcut declaration.
 java.lang.String getName()
           
 Pointcut getPointcut()
           
 boolean isAbstract()
           
 java.lang.String toString()
           
 
Methods inherited from class abc.weaving.aspectinfo.InAspect
getAspect
 
Methods inherited from class abc.weaving.aspectinfo.Syntax
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PointcutDecl

public PointcutDecl(java.lang.String name,
                    java.util.List formals,
                    Pointcut pc,
                    Aspect aspct,
                    Position pos)
Create a pointcut declaration.

Parameters:
name - the name of the pointcut.
formals - a list of Formal objects
pc - the pointcut, or null if the declaration is abstract.
Method Detail

getName

public java.lang.String getName()

getFormals

public java.util.List getFormals()
Get the formals of the pointcut declaration.

Returns:
a list of Formal objects.

isAbstract

public boolean isAbstract()

getPointcut

public Pointcut getPointcut()

toString

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