org.aspectj.lang.reflect

Interface DeclareParents

public interface DeclareParents

A declare parents member defined inside an aspect

Method Summary

AjType<T>
getDeclaringType()
The declaring aspect
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

Method Details

getDeclaringType

public AjType<T> getDeclaringType()
The declaring aspect

getParentTypes

public Type[] getParentTypes()
            throws ClassNotFoundException
The set of types that the types matching getTargetTypesPattern are declared to implement or extend

getTargetTypesPattern

public TypePattern getTargetTypesPattern()
The target type pattern

isExtends

public boolean isExtends()
True if this is a declare parents...extends member declaration

isImplements

public boolean isImplements()
True if this is a declare parents...implements member declaration