java.lang.Object
com.github.fierioziy.particlenativeapi.core.asm.utils.RefUtils

public class RefUtils extends Object
  • Constructor Details

    • RefUtils

      public RefUtils()
  • Method Details

    • tryGetMethod

      public static Method tryGetMethod(Class<?> clazz, String name, Class<?>... classes)
    • tryInvoke

      public static Object tryInvoke(Object obj, Method method, Object... args)
    • tryGet

      public static Object tryGet(Object obj, Field f)
    • tryInferFieldName

      public static String tryInferFieldName(Class<?> clazz, Class<?> fieldType)
    • tryInferMethodName

      public static String tryInferMethodName(Class<?> clazz, Class<?> returnType, Class<?>... paramTypes)
    • tryInferMethodName

      public static String tryInferMethodName(Class<?> clazz, Class<?> returnType, boolean exact, Class<?>... paramTypes)