|
JMMF API pre-release v0.6 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--fr.umlv.jmmf.reflect.DefaultMultiMethodModel
default multi-method model.
| Field Summary | |
protected MultiMethodHook |
hook
|
protected TypeModel |
typeModel
|
| Constructor Summary | |
DefaultMultiMethodModel()
|
|
DefaultMultiMethodModel(MultiMethodHook hook)
|
|
DefaultMultiMethodModel(TypeModel typeModel,
MultiMethodHook hook)
|
|
| Method Summary | |
java.lang.Class[] |
getExceptionTypes(java.lang.reflect.Method[] methods)
process exceptions of the multi-method with the exceptions of all the contained methods. |
MultiMethodHook |
getHook()
return the hook. |
int |
getModifiers(java.lang.reflect.Method[] methods)
Process modifiers of the multi-method with the modifiers of all the contained methods. |
java.lang.Class[] |
getParameterTypes(java.lang.reflect.Method[] methods)
process parameter types of the multi-method with the parameter types of all the contained methods. |
java.lang.Class |
getReturnType(java.lang.reflect.Method[] methods)
process return type of the multi-method with the return type of all the contained methods. |
TypeModel |
getTypeModel()
return the type model. |
void |
setHook(MultiMethodHook hook)
set the hook for the multi-methods created with this model. |
void |
setTypeModel(TypeModel typeModel)
set the type model. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected MultiMethodHook hook
protected TypeModel typeModel
| Constructor Detail |
public DefaultMultiMethodModel(TypeModel typeModel,
MultiMethodHook hook)
public DefaultMultiMethodModel(MultiMethodHook hook)
public DefaultMultiMethodModel()
| Method Detail |
public TypeModel getTypeModel()
getTypeModel in interface MultiMethodModelpublic void setTypeModel(TypeModel typeModel)
public MultiMethodHook getHook()
getHook in interface MultiMethodModelpublic void setHook(MultiMethodHook hook)
public int getModifiers(java.lang.reflect.Method[] methods)
getModifiers in interface MultiMethodModelpublic java.lang.Class[] getExceptionTypes(java.lang.reflect.Method[] methods)
getExceptionTypes in interface MultiMethodModelpublic java.lang.Class getReturnType(java.lang.reflect.Method[] methods)
getReturnType in interface MultiMethodModelpublic java.lang.Class[] getParameterTypes(java.lang.reflect.Method[] methods)
getParameterTypes in interface MultiMethodModel
|
JMMF API pre-release v0.6 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||