public interface JavaMethod extends JavaMember
Different environments (runtime, enhancer, development) will have different JavaMethod implementations to provide answers to the various methods.
| Modifier and Type | Method and Description |
|---|---|
JavaType[] |
getParameterTypes()
Returns an array of JavaType instances that represent the formal
parameter types, in declaration order, of the method represented by
this JavaMethod instance.
|
JavaType |
getReturnType()
Returns the JavaType representation of the method return type.
|
getComponentType, getDeclaringClass, getModifiers, getName, getTypegetUnderlyingObjectJavaType getReturnType()
JavaType[] getParameterTypes()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.