All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.litongjava.tio.boot.utils.ParameterNameUtil Maven / Gradle / Ivy

There is a newer version: 1.8.6
Show newest version
package com.litongjava.tio.boot.utils;

import java.lang.reflect.Method;

import com.litongjava.tio.boot.paranamer.BytecodeReadingParanamer;
import com.litongjava.tio.boot.paranamer.Paranamer;

public class ParameterNameUtil {
  private static final Paranamer paranamer;

  static {
    paranamer = new BytecodeReadingParanamer();
  }

  public static String[] getParameterNames(Method method) {
    return paranamer.lookupParameterNames(method, false);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy