public class InterTypeMethodDeclarationImpl extends InterTypeDeclarationImpl implements InterTypeMethodDeclaration
targetTypeName
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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() |
getDeclaringType, getModifiers, getTargetType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDeclaringType, getModifiers, getTargetType
public InterTypeMethodDeclarationImpl(AjType<?> decType, java.lang.String target, int mods, java.lang.String name, java.lang.reflect.Method itdInterMethod)
decType
- target
- mods
- public java.lang.String getName()
InterTypeMethodDeclaration
getName
in interface InterTypeMethodDeclaration
public AjType<?> getReturnType()
InterTypeMethodDeclaration
getReturnType
in interface InterTypeMethodDeclaration
public java.lang.reflect.Type getGenericReturnType()
InterTypeMethodDeclaration
getGenericReturnType
in interface InterTypeMethodDeclaration
public AjType<?>[] getParameterTypes()
InterTypeMethodDeclaration
getParameterTypes
in interface InterTypeMethodDeclaration
public java.lang.reflect.Type[] getGenericParameterTypes()
InterTypeMethodDeclaration
getGenericParameterTypes
in interface InterTypeMethodDeclaration
public java.lang.reflect.TypeVariable<java.lang.reflect.Method>[] getTypeParameters()
InterTypeMethodDeclaration
getTypeParameters
in interface InterTypeMethodDeclaration
public AjType<?>[] getExceptionTypes()
InterTypeMethodDeclaration
getExceptionTypes
in interface InterTypeMethodDeclaration
public java.lang.String toString()
toString
in class java.lang.Object