com.tc.aspectwerkz.reflect
Interface MethodInfo

All Superinterfaces:
MemberInfo, ReflectionInfo

public interface MethodInfo
extends MemberInfo

Interface for the method info implementations.

Author:
Jonas BonŽr

Method Summary
 ClassInfo[] getExceptionTypes()
          Returns the exception types.
 java.lang.String[] getParameterNames()
          Returns the parameter names as they appear in the source code.
 ClassInfo[] getParameterTypes()
          Returns the parameter types.
 ClassInfo getReturnType()
          Returns the return type.
 
Methods inherited from interface com.tc.aspectwerkz.reflect.MemberInfo
getDeclaringType
 
Methods inherited from interface com.tc.aspectwerkz.reflect.ReflectionInfo
getAnnotations, getGenericsSignature, getModifiers, getName, getSignature
 

Method Detail

getReturnType

ClassInfo getReturnType()
Returns the return type.

Returns:
the return type

getParameterTypes

ClassInfo[] getParameterTypes()
Returns the parameter types.

Returns:
the parameter types

getParameterNames

java.lang.String[] getParameterNames()
Returns the parameter names as they appear in the source code. This information is available only when class are compiled with javac -g (debug info), but is required for Aspect that are using args() and target()/this() bindings.

It returns null if not available.

Returns:

getExceptionTypes

ClassInfo[] getExceptionTypes()
Returns the exception types.

Returns:
the exception types


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.