abc.weaving.aspectinfo
Class DeclareParentsExt

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.DeclareParentsExt

public class DeclareParentsExt
extends DeclareParents

A declare parents .. extends declaration.

Author:
Aske Simon Christensen

Constructor Summary
DeclareParentsExt(ClassnamePattern pattern, java.util.Collection classes, AbcClass parent, Aspect aspct, Position pos)
          Create a declare parents extending a class.
 
Method Summary
 AbcClass getParent()
          Get the extended class.
 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

DeclareParentsExt

public DeclareParentsExt(ClassnamePattern pattern,
                         java.util.Collection classes,
                         AbcClass parent,
                         Aspect aspct,
                         Position pos)
Create a declare parents extending a class.

Parameters:
classes - the classes that should extend the class. A collection of AbcClass objects.
parent - the class to extend.
Method Detail

getParent

public AbcClass getParent()
Get the extended class.

Returns:
the class to be extended.

toString

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