Class ReflectionUtils.RefMethod

java.lang.Object
net.evmodder.EvLib.extras.ReflectionUtils.RefMethod
Enclosing class:
ReflectionUtils

public static class ReflectionUtils.RefMethod extends Object
Method wrapper
  • Method Details

    • getRealMethod

      public Method getRealMethod()
      Returns:
      passed method
    • getRefClass

      public ReflectionUtils.RefClass getRefClass()
      Returns:
      owner class of method
    • getReturnRefClass

      public ReflectionUtils.RefClass getReturnRefClass()
      Returns:
      class of method return type
    • of

      apply method to object
      Parameters:
      e - object to which the method is applied
      Returns:
      RefExecutor with method call(...)
    • call

      public Object call(Object... params)
      call static method
      Parameters:
      params - sent parameters
      Returns:
      return value