abc.weaving.aspectinfo
Class DeclareParentsImpl
java.lang.Object
abc.weaving.aspectinfo.Syntax
abc.weaving.aspectinfo.InAspect
abc.weaving.aspectinfo.DeclareParents
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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