Package com.tailf.dp.annotations
Class ProxyUtils
Object
com.tailf.dp.annotations.ProxyUtils
Helper class for callback proxys
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
compareMethods
(Method source, Method proposal) Comparison of method signatures.static DpCallbackException
-
Constructor Details
-
ProxyUtils
public ProxyUtils()
-
-
Method Details
-
compareMethods
Comparison of method signatures. Compares arguments and return types but differences in thrown exceptions are neglected.- Parameters:
source
- source method for comparisonproposal
- target method for comparison- Returns:
- true if arguments and return type of methods coincide
-
invocationTargetCheck
-