org.codehaus.aspectwerkz.reflect.impl.java
Class JavaMethodInfo

java.lang.Object
  extended byorg.codehaus.aspectwerkz.reflect.impl.java.JavaMemberInfo
      extended byorg.codehaus.aspectwerkz.reflect.impl.java.JavaMethodInfo
All Implemented Interfaces:
MemberInfo, MethodInfo, ReflectionInfo

public class JavaMethodInfo
extends JavaMemberInfo
implements MethodInfo

Implementation of the MethodInfo interface for java.lang.reflect.*.

Author:
Jonas Bonér

Field Summary
 
Fields inherited from class org.codehaus.aspectwerkz.reflect.impl.java.JavaMemberInfo
m_annotations, m_classInfoRepository, m_declaringType, m_member
 
Method Summary
 boolean equals(Object o)
           
 List getAnnotations()
          Returns the annotations.
 ClassInfo[] getExceptionTypes()
          Returns the exception types.
static MethodInfo getMethodInfo(Method method)
          Returns the method info for the method specified.
 ClassInfo[] getParameterTypes()
          Returns the parameter types.
 ClassInfo getReturnType()
          Returns the return type.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.codehaus.aspectwerkz.reflect.impl.java.JavaMemberInfo
getDeclaringType, getModifiers, getName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.codehaus.aspectwerkz.reflect.MemberInfo
getDeclaringType
 
Methods inherited from interface org.codehaus.aspectwerkz.reflect.ReflectionInfo
getModifiers, getName
 

Method Detail

getMethodInfo

public static MethodInfo getMethodInfo(Method method)
Returns the method info for the method specified.

Parameters:
method - the method
Returns:
the method info

getAnnotations

public List getAnnotations()
Returns the annotations.

Specified by:
getAnnotations in interface ReflectionInfo
Returns:
the annotations

getReturnType

public ClassInfo getReturnType()
Returns the return type.

Specified by:
getReturnType in interface MethodInfo
Returns:
the return type

getParameterTypes

public ClassInfo[] getParameterTypes()
Returns the parameter types.

Specified by:
getParameterTypes in interface MethodInfo
Returns:
the parameter types

getExceptionTypes

public ClassInfo[] getExceptionTypes()
Returns the exception types.

Specified by:
getExceptionTypes in interface MethodInfo
Returns:
the exception types

equals

public boolean equals(Object o)

hashCode

public int hashCode()

toString

public String toString()


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.