| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.util.interfaceenrichment.MethodDescriptor
public class MethodDescriptor
Class to describe a method. This is used to decorate methods.
| Field Summary | |
|---|---|
protected  String | 
m_methodName
Name of the method.  | 
protected  String[] | 
m_parameterNames
Parameter names.  | 
protected  Class<?>[] | 
m_parameterTypes
Parameter types.  | 
protected  Class<?> | 
m_returnType
The return type of this method.  | 
protected  Class<?>[] | 
m_thrownExceptions
Exceptions which this method can throw.  | 
| Constructor Summary | |
|---|---|
MethodDescriptor()
 | 
|
| Method Summary | |
|---|---|
 String | 
getMethodName()
 | 
 String[] | 
getParameterNames()
This may not be the real names (e.g. when we use reflection)  | 
 Class<?>[] | 
getParameterTypes()
 | 
 Class<?> | 
getReturnType()
 | 
 Class<?>[] | 
getThrownExceptions()
 | 
 void | 
setMethodName(String name)
 | 
 void | 
setParameterNames(String[] names)
This may not be the real names (e.g. when we use reflection)  | 
 void | 
setParameterTypes(Class<?>[] types)
 | 
 void | 
setReturnType(Class<?> type)
 | 
 void | 
setThrownExceptions(Class<?>[] exceptions)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected String m_methodName
protected String[] m_parameterNames
protected Class<?>[] m_parameterTypes
protected Class<?>[] m_thrownExceptions
protected Class<?> m_returnType
| Constructor Detail | 
|---|
public MethodDescriptor()
| Method Detail | 
|---|
public String getMethodName()
public void setMethodName(String name)
name - The m_methodName to set.public Class<?>[] getParameterTypes()
public void setParameterTypes(Class<?>[] types)
types - The m_parameterTypes to set.public Class<?> getReturnType()
public void setReturnType(Class<?> type)
type - The m_returnType to set.public Class<?>[] getThrownExceptions()
public void setThrownExceptions(Class<?>[] exceptions)
exceptions - The m_thrownExceptions to set.public String[] getParameterNames()
public void setParameterNames(String[] names)
names - The m_parameterNames to set.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||