Class ProxyUtils

Object
com.tailf.dp.annotations.ProxyUtils

public class ProxyUtils extends Object
Helper class for callback proxys
  • Constructor Details

    • ProxyUtils

      public ProxyUtils()
  • Method Details

    • compareMethods

      public static boolean compareMethods(Method source, Method proposal)
      Comparison of method signatures. Compares arguments and return types but differences in thrown exceptions are neglected.
      Parameters:
      source - source method for comparison
      proposal - target method for comparison
      Returns:
      true if arguments and return type of methods coincide
    • invocationTargetCheck

      public static DpCallbackException invocationTargetCheck(InvocationTargetException ex)