Package ghidra.framework.plugintool.util

# Class AutoServiceListener.MethodServiceSetter<R,S>

java.lang.Object
ghidra.framework.plugintool.util.AutoServiceListener.MethodServiceSetter<R,S>

All Implemented Interfaces:
  `AutoServiceListener.ServiceSetter<R,S>`

Enclosing class:
  `AutoServiceListener<R>`

protected static class AutoServiceListener.MethodServiceSetter<R,S> extends Object implements AutoServiceListener.ServiceSetter<R,S>

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final Class<S>`
  `iface`
  `protected final Method`
  `method`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MethodServiceSetter(Method method)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Class<S>`
  `getServiceIface()`
  `void`
  `set(R receiver, S service)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### method

    protected final Method method

  - ### iface

    protected final Class<S> iface

- ## Constructor Details

  - ### MethodServiceSetter

    public MethodServiceSetter(Method method)

- ## Method Details

  - ### set

    public void set(R receiver, S service)
    Specified by:
      `set` in interface `AutoServiceListener.ServiceSetter<R,S>`

  - ### getServiceIface

    public Class<S> getServiceIface()
    Specified by:
      `getServiceIface` in interface `AutoServiceListener.ServiceSetter<R,S>`