org.jboss.reflect.spi
Interface MethodInfo

All Superinterfaces:
AnnotatedInfo, Cloneable, org.jboss.util.JBossInterface, MemberInfo, ModifierInfo
All Known Implementing Classes:
MethodInfoImpl

public interface MethodInfo
extends AnnotatedInfo, MemberInfo

Method info

Author:
Bill Burke, Adrian Brock

Field Summary
static ClassInfo[] NO_EXCEPTIONS
          No Exceptions
static ParameterInfo[] NO_PARAMS
          No parameters
static TypeInfo[] NO_PARAMS_TYPES
          No parameters
 
Fields inherited from interface org.jboss.reflect.spi.ModifierInfo
ABSTRACT, CONSTANT, FINAL, PACKAGE, PACKAGE_ABSTRACT, PACKAGE_CONSTANT, PACKAGE_STATIC, PRIVATE, PRIVATE_CONSTANT, PRIVATE_STATIC, PROTECTED, PROTECTED_ABSTRACT, PROTECTED_CONSTANT, PROTECTED_STATIC, PUBLIC, PUBLIC_ABSTRACT, PUBLIC_CONSTANT, PUBLIC_STATIC, STATIC
 
Method Summary
 ClassInfo getDeclaringClass()
          Get the declaring class
 ClassInfo[] getExceptionTypes()
          Get the exception types
 Method getMethod()
          Get the method
 String getName()
          Get the method name
 ParameterInfo[] getParameters()
          Get the parameters
 TypeInfo[] getParameterTypes()
          Get the parameter types
 TypeInfo getReturnType()
          Get the return type
 
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo
getAnnotation, getAnnotations, isAnnotationPresent
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo
getModifiers, isPublic, isStatic
 

Field Detail

NO_PARAMS_TYPES

public static final TypeInfo[] NO_PARAMS_TYPES
No parameters


NO_PARAMS

public static final ParameterInfo[] NO_PARAMS
No parameters


NO_EXCEPTIONS

public static final ClassInfo[] NO_EXCEPTIONS
No Exceptions

Method Detail

getName

public String getName()
Get the method name

Returns:
the method name

getMethod

public Method getMethod()
Get the method

Returns:
the method

getDeclaringClass

public ClassInfo getDeclaringClass()
Get the declaring class

Specified by:
getDeclaringClass in interface MemberInfo
Returns:
the declaring class

getParameterTypes

public TypeInfo[] getParameterTypes()
Get the parameter types

Returns:
the parameter types

getParameters

public ParameterInfo[] getParameters()
Get the parameters

Returns:
the parameters

getExceptionTypes

public ClassInfo[] getExceptionTypes()
Get the exception types

Returns:
the exception types

getReturnType

public TypeInfo getReturnType()
Get the return type

Returns:
the return type


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.