| 构造器和说明 |
|---|
AbstractParam(Method method,
int index) |
| 限定符和类型 | 方法和说明 |
|---|---|
Annotation[] |
getAnnotations()
获取全部注解
|
<T extends Annotation> |
getDeclaredAnnotation(Class<T> annotationClass)
获取某个注解
|
String |
getDescription() |
Type |
getGenericType()
参数泛型类型
|
int |
getIndex()
参数索引号
|
String |
getLabel() |
String |
getName()
参数名
|
Class<?> |
getType()
参数类型
|
public AbstractParam(Method method, int index)
public String getLabel()
public String getDescription()
public Class<?> getType()
public Annotation[] getAnnotations()
AnnotatedgetAnnotations 在接口中 Annotatedpublic Type getGenericType()
public String getName()
public int getIndex()
public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass)
AnnotatedgetDeclaredAnnotation 在接口中 AnnotatedCopyright © 2020. All rights reserved.