io.github.yangyouwang.core.ControllerWrapper Maven / Gradle / Ivy
package io.github.yangyouwang.core;
import io.github.yangyouwang.annotion.Wrapper;
import io.github.yangyouwang.consts.ConfigConsts;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* Wrapper包装类
*
* @author yangyouwang
*/
public class ControllerWrapper {
private static ControllerWrapper instance;
private ControllerWrapper(){}
public static ControllerWrapper getInstance() {
if (instance == null) {
instance = new ControllerWrapper();
}
return instance;
}
public List