org.aspectj.internal.lang.reflect
Class InterTypeDeclarationImpl

java.lang.Object
  extended by org.aspectj.internal.lang.reflect.InterTypeDeclarationImpl
All Implemented Interfaces:
InterTypeDeclaration
Direct Known Subclasses:
InterTypeConstructorDeclarationImpl, InterTypeFieldDeclarationImpl, InterTypeMethodDeclarationImpl

public class InterTypeDeclarationImpl
extends java.lang.Object
implements InterTypeDeclaration

Author:
colyer

Constructor Summary
InterTypeDeclarationImpl(AjType<?> decType, AjType<?> targetType, int mods)
           
InterTypeDeclarationImpl(AjType<?> decType, java.lang.String target, int mods)
           
 
Method Summary
 AjType<?> getDeclaringType()
          The declaring aspect
 int getModifiers()
          Member modifiers, can be interpreted using java.lang.reflect.Modifier
 AjType<?> getTargetType()
          The target type of this ITD
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterTypeDeclarationImpl

public InterTypeDeclarationImpl(AjType<?> decType,
                                java.lang.String target,
                                int mods)

InterTypeDeclarationImpl

public InterTypeDeclarationImpl(AjType<?> decType,
                                AjType<?> targetType,
                                int mods)
Method Detail

getDeclaringType

public AjType<?> getDeclaringType()
Description copied from interface: InterTypeDeclaration
The declaring aspect

Specified by:
getDeclaringType in interface InterTypeDeclaration

getTargetType

public AjType<?> getTargetType()
                        throws java.lang.ClassNotFoundException
Description copied from interface: InterTypeDeclaration
The target type of this ITD

Specified by:
getTargetType in interface InterTypeDeclaration
Throws:
java.lang.ClassNotFoundException

getModifiers

public int getModifiers()
Description copied from interface: InterTypeDeclaration
Member modifiers, can be interpreted using java.lang.reflect.Modifier

Specified by:
getModifiers in interface InterTypeDeclaration