Interface Implementation.SpecialMethodInvocation

    • Method Detail

      • getMethodDescription

        MethodDescription getMethodDescription()
        Returns the method that represents this special method invocation. This method can be different even for equal special method invocations, dependant on the method that was used to request such an invocation by the means of a Implementation.Target.
        Returns:
        The method description that describes this instances invocation target.
      • getTypeDescription

        TypeDescription getTypeDescription()
        Returns the target type the represented method is invoked on.
        Returns:
        The type the represented method is invoked on.
      • withCheckedCompatibilityTo

        Implementation.SpecialMethodInvocation withCheckedCompatibilityTo​(MethodDescription.TypeToken token)
        Checks that this special method invocation is compatible with the supplied type representation.
        Parameters:
        token - The type token to check against.
        Returns:
        This special method invocation or an illegal invocation if the method invocation is not applicable.