Save This Page
Home » jdo2-model-2.3-ea-src » » [javadoc | source]
public interface: JavaMethod [javadoc | source]

All Implemented Interfaces:

All Known Implementing Classes:

A JavaMethod instance represents a method declared by a class. It allows to get detailed information about the method such as name, modifiers, return type, parameters, and the declaring class.

Different environments (runtime, enhancer, development) will have different JavaMethod implementations to provide answers to the various methods.

Method from Summary:
getParameterTypes,   getReturnType
Method from Detail:
 public 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.
 public JavaType getReturnType()
    Returns the JavaType representation of the method return type.