FileDocCategorySizeDatePackage
MethodInfo.javaAPI DocGlassfish v2 API2186Fri Feb 17 14:04:52 GMT 2006javax.el

MethodInfo

public class MethodInfo extends Object
Holds information about a method that a {@link MethodExpression} evaluated to.
since
JSP 2.1

Fields Summary
private String
name
private Class
returnType
private Class[]
paramTypes
Constructors Summary
public MethodInfo(String name, Class returnType, Class[] paramTypes)
Creates a new instance of MethodInfo with the given information.

param
name The name of the method
param
returnType The return type of the method
param
paramTypes The types of each of the method's parameters

        this.name = name;
        this.returnType = returnType;
        this.paramTypes = paramTypes;
    
Methods Summary
public java.lang.StringgetName()
Returns the name of the method

return
the name of the method

        return this.name;
    
public java.lang.Class[]getParamTypes()
Returns the parameter types of the method

return
the parameter types of the method

        return this.paramTypes;
    
public java.lang.ClassgetReturnType()
Returns the return type of the method

return
the return type of the method

        return this.returnType;