java.lang.Object
com.djrapitops.plan.extension.implementation.providers.MethodWrapper<T>

public class MethodWrapper<T> extends Object
Wrap a Method so that it is easier to call.
  • Constructor Details

    • MethodWrapper

      public MethodWrapper(Method method, Class<T> returnType)
  • Method Details

    • callMethod

      public T callMethod(DataExtension extension, Parameters with)
    • getMethodName

      public String getMethodName()
    • getMethodType

      public MethodType getMethodType()
    • getReturnType

      public Class<T> getReturnType()
    • disable

      public void disable()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object