Annotation Type SuperMethod

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean cached
      Indicates if the instance assigned to this parameter should be stored in a static field for reuse.
      boolean fallbackToDefault
      Indicates that the assigned method should attempt the invocation of an unambiguous default method if no super method is available.
      boolean nullIfImpossible
      Indicates that null should be assigned to this parameter if no super method is invokable.
      boolean privileged
      Indicates if the instance assigned to this parameter should be looked up using an AccessController.
    • Element Detail

      • cached

        boolean cached
        Indicates if the instance assigned to this parameter should be stored in a static field for reuse.
        Returns:
        true if this method instance should be cached.
        Default:
        true
      • privileged

        boolean privileged
        Indicates if the instance assigned to this parameter should be looked up using an AccessController.
        Returns:
        true if this method should be looked up using an AccessController.
        Default:
        false
      • fallbackToDefault

        boolean fallbackToDefault
        Indicates that the assigned method should attempt the invocation of an unambiguous default method if no super method is available.
        Returns:
        true if a default method should be invoked if it is not ambiguous and no super class method is available.
        Default:
        true
      • nullIfImpossible

        boolean nullIfImpossible
        Indicates that null should be assigned to this parameter if no super method is invokable.
        Returns:
        true if null should be assigned if no valid method can be assigned.
        Default:
        false