public class ParameterServiceRegistry extends Object implements Registry<String,ParameterSupplier>
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
JAVA_6_SUPPLIER_NAME |
static String |
JAVA_8_SUPPLIER_NAME |
public static ParameterServiceRegistry getInstance()
public List<MethodParameter> getMethodParameters(Method method)
public List<MethodParameter> getMethodParameters(String supplierName, Method method)
public MethodParameter getMethodParameter(Method method, int index)
public MethodParameter getMethodParameter(String supplierName, Method method, int index)
public MethodParameter getMethodParameter(String name, int modifiers, Method method, int index)
public MethodParameter getMethodParameter(String supplierName, String name, int modifiers, Method method, int index)
public List<ConstructorParameter> getConstructorParameters(Constructor constructor)
public List<ConstructorParameter> getConstructorParameters(String supplierName, Constructor constructor)
public ConstructorParameter getConstructorParameter(Constructor constructor, int index)
public ConstructorParameter getConstructorParameter(String supplierName, Constructor constructor, int index)
public ConstructorParameter getConstructorParameter(String name, int modifiers, Constructor constructor, int index)
public ConstructorParameter getConstructorParameter(String supplierName, String name, int modifiers, Constructor constructor, int index)
public MethodParameterSupplier getDefaultMethodParameterSupplier()
public ConstructorParameterSupplier getDefaultConstructorParameterSupplier()
public MethodParameterSupplier findMethodParameterSupplier(String name)
public MethodParameterSupplier findMethodParameterSupplier(String name, boolean useDefaultIfNotFound)
public ConstructorParameterSupplier findConstructorParameterSupplier(String name)
public ConstructorParameterSupplier findConstructorParameterSupplier(String name, boolean useDefaultIfNotFound)
public void register(String name, MethodParameterSupplier supplier)
public void register(String name, ConstructorParameterSupplier supplier)
public void register(ParameterSupplier parameterSupplier)
register 在接口中 Registry<String,ParameterSupplier>public void register(String name, ParameterSupplier parameterSupplier)
register 在接口中 Registry<String,ParameterSupplier>public ParameterSupplier get(String input)
get 在接口中 Factory<String,ParameterSupplier>get 在接口中 Supplier<String,ParameterSupplier>Copyright © 2020. All rights reserved.