|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodMappingErrorHandler
Interface defining a callback mechanism to handle errors encountered in the
course of a MethodMappingBuilder
.
Method Summary | |
---|---|
boolean |
handleIncompatibleMethods(java.lang.reflect.Method source,
java.lang.reflect.Method target)
Called back by MethodMappingBuilder when matching methods
from source and target classes have
incompatible return types. |
void |
handleNonExistingMethod(java.lang.reflect.Method source,
java.lang.Class target)
Called back by MethodMappingBuilder when one method
from source class has no matching method in
target class. |
Method Detail |
---|
boolean handleIncompatibleMethods(java.lang.reflect.Method source, java.lang.reflect.Method target)
MethodMappingBuilder
when matching methods
from source
and target
classes have
incompatible return types.
source
- method from source classtarget
- matching method from target class
true
if MethodMappingBuilder
should
still add this mapping as if no error occurredvoid handleNonExistingMethod(java.lang.reflect.Method source, java.lang.Class target)
MethodMappingBuilder
when one method
from source
class has no matching method in
target
class.
source
- method from source classtarget
- target class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |