|
JMMF API pre-release v0.7 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--fr.umlv.jmmf.reflect.DefaultMultiModel
default multi-method model. MUST OPTIMIZE getParameterTypes() !!!
| Field Summary | |
protected MultiHook |
hook
|
protected TypeModel |
typeModel
|
| Constructor Summary | |
DefaultMultiModel()
|
|
DefaultMultiModel(MultiHook hook)
|
|
DefaultMultiModel(TypeModel typeModel,
MultiHook hook)
|
|
| Method Summary | |
java.lang.Class[] |
getExceptionTypes(java.lang.reflect.Constructor[] constructors)
process exceptions of the multi-constructor with the exceptions of all the contained methods. |
java.lang.Class[] |
getExceptionTypes(java.lang.reflect.Method[] methods)
process exceptions of the multi-method with the exceptions of all the contained methods. |
MultiHook |
getHook()
return the hook. |
int |
getModifiers(java.lang.reflect.Member[] methods)
Process modifiers of the multi-method with the modifiers of all the contained methods. |
java.lang.Class[] |
getParameterTypes(java.lang.reflect.Constructor[] constructors)
process parameter types of the multi-method with the parameter types 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(MultiHook 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 MultiHook hook
protected TypeModel typeModel
| Constructor Detail |
public DefaultMultiModel(TypeModel typeModel,
MultiHook hook)
public DefaultMultiModel(MultiHook hook)
public DefaultMultiModel()
| Method Detail |
public TypeModel getTypeModel()
getTypeModel in interface MultiModelpublic void setTypeModel(TypeModel typeModel)
public MultiHook getHook()
getHook in interface MultiModelpublic void setHook(MultiHook hook)
public int getModifiers(java.lang.reflect.Member[] methods)
getModifiers in interface MultiModelpublic java.lang.Class[] getExceptionTypes(java.lang.reflect.Method[] methods)
getExceptionTypes in interface MultiModelpublic java.lang.Class[] getExceptionTypes(java.lang.reflect.Constructor[] constructors)
getExceptionTypes in interface MultiModelpublic java.lang.Class getReturnType(java.lang.reflect.Method[] methods)
getReturnType in interface MultiModelpublic java.lang.Class[] getParameterTypes(java.lang.reflect.Method[] methods)
getParameterTypes in interface MultiModelpublic java.lang.Class[] getParameterTypes(java.lang.reflect.Constructor[] constructors)
getParameterTypes in interface MultiModel
|
JMMF API pre-release v0.7 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||