abc.weaving.aspectinfo
Class DeclareParentsImpl

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.InAspect
          extended by abc.weaving.aspectinfo.DeclareParents
              extended by abc.weaving.aspectinfo.DeclareParentsImpl

public class DeclareParentsImpl
extends DeclareParents

A declare parents .. implements declaration.

Author:
Aske Simon Christensen

Constructor Summary
DeclareParentsImpl(ClassnamePattern pattern, java.util.Collection classes, java.util.List interfaces, Aspect aspct, Position pos)
          Create a declare parents implementing a list of interfaces.
 
Method Summary
 java.util.List getInterfaces()
          Get the list of implemented interfaces.
 java.lang.String toString()
           
 
Methods inherited from class abc.weaving.aspectinfo.DeclareParents
getClasses, getPattern
 
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

DeclareParentsImpl

public DeclareParentsImpl(ClassnamePattern pattern,
                          java.util.Collection classes,
                          java.util.List interfaces,
                          Aspect aspct,
                          Position pos)
Create a declare parents implementing a list of interfaces.

Parameters:
classes - the classes that should implement the interfaces. A collection of AbcClass objects.
interfaces - a list of AbcClass objects giving the interfaces to be implemented.
Method Detail

getInterfaces

public java.util.List getInterfaces()
Get the list of implemented interfaces.

Returns:
a list of AbcClass objects.

toString

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