Class SubclassImplementationTarget

    • Method Detail

      • invokeSuper

        public Implementation.SpecialMethodInvocation invokeSuper​(MethodDescription.SignatureToken token)
        Creates a special method invocation for invoking the super method of the given method.
        Parameters:
        token - A token of the method that is to be invoked as a super method.
        Returns:
        The corresponding special method invocation which might be illegal if the requested invocation is not legal.
      • invokeConstructor

        private Implementation.SpecialMethodInvocation invokeConstructor​(MethodDescription.SignatureToken token)
        Resolves a special method invocation for a constructor invocation.
        Parameters:
        token - A token describing the constructor to be invoked.
        Returns:
        A special method invocation for a constructor representing the given method token, if available.
      • invokeMethod

        private Implementation.SpecialMethodInvocation invokeMethod​(MethodDescription.SignatureToken token)
        Resolves a special method invocation for a non-constructor invocation.
        Parameters:
        token - A token describing the method to be invoked.
        Returns:
        A special method invocation for a method representing the given method token, if available.
      • getOriginType

        public TypeDefinition getOriginType()
        Identifies the origin type of an implementation. The origin type describes the type that is subject to any form of enhancement. If a subclass of a given type is generated, the base type of this subclass describes the origin type. If a given type is redefined or rebased, the origin type is described by the instrumented type itself.
        Returns:
        The origin type of this implementation.