org.aspectj.internal.lang.reflect
Class InterTypeMethodDeclarationImpl

java.lang.Object
  extended by org.aspectj.internal.lang.reflect.InterTypeDeclarationImpl
      extended by org.aspectj.internal.lang.reflect.InterTypeMethodDeclarationImpl
All Implemented Interfaces:
InterTypeDeclaration, InterTypeMethodDeclaration

public class InterTypeMethodDeclarationImpl
extends InterTypeDeclarationImpl
implements InterTypeMethodDeclaration

Author:
colyer

Constructor Summary
InterTypeMethodDeclarationImpl(AjType<?> decType, AjType<?> targetType, java.lang.reflect.Method base, int modifiers)
           
InterTypeMethodDeclarationImpl(AjType<?> decType, java.lang.String target, int mods, java.lang.String name, java.lang.reflect.Method itdInterMethod)
           
 
Method Summary
 AjType<?>[] getExceptionTypes()
          The declared exceptions thrown by this method
 java.lang.reflect.Type[] getGenericParameterTypes()
          The generic method parameters
 java.lang.reflect.Type getGenericReturnType()
          The generic return type
 java.lang.String getName()
          The name of this method
 AjType<?>[] getParameterTypes()
          The method parameters
 AjType<?> getReturnType()
          The method return type
 java.lang.reflect.TypeVariable<java.lang.reflect.Method>[] getTypeParameters()
          The type variables declared by this method
 java.lang.String toString()
           
 
Methods inherited from class org.aspectj.internal.lang.reflect.InterTypeDeclarationImpl
getDeclaringType, getModifiers, getTargetType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.aspectj.lang.reflect.InterTypeDeclaration
getDeclaringType, getModifiers, getTargetType
 

Constructor Detail

InterTypeMethodDeclarationImpl

public InterTypeMethodDeclarationImpl(AjType<?> decType,
                                      java.lang.String target,
                                      int mods,
                                      java.lang.String name,
                                      java.lang.reflect.Method itdInterMethod)
Parameters:
decType -
target -
mods -

InterTypeMethodDeclarationImpl

public InterTypeMethodDeclarationImpl(AjType<?> decType,
                                      AjType<?> targetType,
                                      java.lang.reflect.Method base,
                                      int modifiers)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: InterTypeMethodDeclaration
The name of this method

Specified by:
getName in interface InterTypeMethodDeclaration

getReturnType

public AjType<?> getReturnType()
Description copied from interface: InterTypeMethodDeclaration
The method return type

Specified by:
getReturnType in interface InterTypeMethodDeclaration

getGenericReturnType

public java.lang.reflect.Type getGenericReturnType()
Description copied from interface: InterTypeMethodDeclaration
The generic return type

Specified by:
getGenericReturnType in interface InterTypeMethodDeclaration

getParameterTypes

public AjType<?>[] getParameterTypes()
Description copied from interface: InterTypeMethodDeclaration
The method parameters

Specified by:
getParameterTypes in interface InterTypeMethodDeclaration

getGenericParameterTypes

public java.lang.reflect.Type[] getGenericParameterTypes()
Description copied from interface: InterTypeMethodDeclaration
The generic method parameters

Specified by:
getGenericParameterTypes in interface InterTypeMethodDeclaration

getTypeParameters

public java.lang.reflect.TypeVariable<java.lang.reflect.Method>[] getTypeParameters()
Description copied from interface: InterTypeMethodDeclaration
The type variables declared by this method

Specified by:
getTypeParameters in interface InterTypeMethodDeclaration

getExceptionTypes

public AjType<?>[] getExceptionTypes()
Description copied from interface: InterTypeMethodDeclaration
The declared exceptions thrown by this method

Specified by:
getExceptionTypes in interface InterTypeMethodDeclaration

toString

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