Class DelegatingToolKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Tool unwrap(Tool $self) Unwrap a tool to find the innermost implementation.
      final static <T extends Tool> T unwrapAs(Tool $self) Unwrap a tool to find a specific type, or return null if not found.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • unwrap

         final static Tool unwrap(Tool $self)

        Unwrap a tool to find the innermost implementation. Recursively unwraps DelegatingTool wrappers.

      • unwrapAs

         final static <T extends Tool> T unwrapAs(Tool $self)

        Unwrap a tool to find a specific type, or return null if not found.