Annotation Type Morph

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean defaultMethod
      Determines if the proxy should attempt to invoke a default method.
      Class<?> defaultTarget
      The type on which a default method should be invoked.
      boolean serializableProxy
      Determines if the injected proxy for this parameter should be serializable.
    • Element Detail

      • serializableProxy

        boolean serializableProxy
        Determines if the injected proxy for this parameter should be serializable.
        Returns:
        true if the proxy should be serializable.
        Default:
        false
      • defaultMethod

        boolean defaultMethod
        Determines if the proxy should attempt to invoke a default method. If the default method is ambiguous, use the defaultTarget() property instead which allows to determine an explicit interface on which the default method should be invoked on. If this other method is used, this property is ignored.
        Returns:
        true if a default method should be ignored.
        Default:
        false
      • defaultTarget

        Class<?> defaultTarget
        The type on which a default method should be invoked. When this property is not set and the defaultMethod() property is set to false, a normal super method invocation is attempted.
        Returns:
        The target interface of a default method call.
        Default:
        void.class