|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.el.MethodInfo
public class MethodInfo
Holds information about a method that a MethodExpression
evaluated to.
Constructor Summary | |
---|---|
MethodInfo(String name,
Class<?> returnType,
Class<?>[] paramTypes)
Creates a new instance of MethodInfo with the given
information. |
Method Summary | |
---|---|
String |
getName()
Returns the name of the method |
Class<?>[] |
getParamTypes()
Returns the parameter types of the method |
Class<?> |
getReturnType()
Returns the return type of the method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodInfo(String name, Class<?> returnType, Class<?>[] paramTypes)
MethodInfo
with the given
information.
name
- The name of the methodreturnType
- The return type of the methodparamTypes
- The types of each of the method's parametersMethod Detail |
---|
public String getName()
public Class<?> getReturnType()
public Class<?>[] getParamTypes()
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.