public class ParamWrap extends Object
| Constructor and Description |
|---|
ParamWrap(Parameter parameter,
Executable executable,
Class<?> clz) |
| Modifier and Type | Method and Description |
|---|---|
Annotation[] |
getAnnoS()
获取所有注解
|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass)
获取参数注解
|
ParameterizedType |
getGenericType()
获取泛型
|
String |
getName() |
Parameter |
getParameter()
获取原始参数
|
Class<?> |
getType()
获取类型
|
VarSpec |
spec()
变量申明
|
public ParamWrap(Parameter parameter, Executable executable, Class<?> clz)
executable - 可执行的(构造函数,或方法)public VarSpec spec()
public String getName()
public Parameter getParameter()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
public Annotation[] getAnnoS()
public Class<?> getType()
@Nullable public ParameterizedType getGenericType()
Copyright © 2025. All rights reserved.