org.aspectj.internal.lang.reflect
Class DeclareParentsImpl

java.lang.Object
  extended by org.aspectj.internal.lang.reflect.DeclareParentsImpl
All Implemented Interfaces:
DeclareParents

public class DeclareParentsImpl
extends java.lang.Object
implements DeclareParents

Author:
colyer

Constructor Summary
DeclareParentsImpl(java.lang.String targets, java.lang.String parentsAsString, boolean isExtends, AjType<?> declaring)
          Parents arg is a comma-separate list of type names that needs to be turned into AjTypes
 
Method Summary
 AjType getDeclaringType()
          The declaring aspect
 java.lang.reflect.Type[] getParentTypes()
          The set of types that the types matching getTargetTypesPattern are declared to implement or extend
 TypePattern getTargetTypesPattern()
          The target type pattern
 boolean isExtends()
          True if this is a declare parents...extends member declaration
 boolean isImplements()
          True if this is a declare parents...implements member declaration
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeclareParentsImpl

public DeclareParentsImpl(java.lang.String targets,
                          java.lang.String parentsAsString,
                          boolean isExtends,
                          AjType<?> declaring)
Parents arg is a comma-separate list of type names that needs to be turned into AjTypes

Method Detail

getDeclaringType

public AjType getDeclaringType()
Description copied from interface: DeclareParents
The declaring aspect

Specified by:
getDeclaringType in interface DeclareParents

getTargetTypesPattern

public TypePattern getTargetTypesPattern()
Description copied from interface: DeclareParents
The target type pattern

Specified by:
getTargetTypesPattern in interface DeclareParents

isExtends

public boolean isExtends()
Description copied from interface: DeclareParents
True if this is a declare parents...extends member declaration

Specified by:
isExtends in interface DeclareParents

isImplements

public boolean isImplements()
Description copied from interface: DeclareParents
True if this is a declare parents...implements member declaration

Specified by:
isImplements in interface DeclareParents

getParentTypes

public java.lang.reflect.Type[] getParentTypes()
                                        throws java.lang.ClassNotFoundException
Description copied from interface: DeclareParents
The set of types that the types matching getTargetTypesPattern are declared to implement or extend

Specified by:
getParentTypes in interface DeclareParents
Throws:
java.lang.ClassNotFoundException

toString

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