public class MethodParameter
extends java.lang.Object
MethodParameter
| 构造器和说明 |
|---|
MethodParameter() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.annotation.Annotation[] |
getAnnotations()
返回annotations
|
java.lang.reflect.Method |
getMethod()
返回method
|
java.lang.String |
getName()
返回name
|
java.lang.Class<?> |
getType()
返回type
|
void |
setAnnotations(java.lang.annotation.Annotation[] annotations)
设置annotations
|
void |
setMethod(java.lang.reflect.Method method)
设置method
|
void |
setName(java.lang.String name)
设置name
|
void |
setType(java.lang.Class<?> type)
设置type
|
public java.lang.String getName()
public void setName(java.lang.String name)
name - namepublic java.lang.Class<?> getType()
public void setType(java.lang.Class<?> type)
type - typepublic java.lang.annotation.Annotation[] getAnnotations()
public void setAnnotations(java.lang.annotation.Annotation[] annotations)
annotations - annotationspublic java.lang.reflect.Method getMethod()
public void setMethod(java.lang.reflect.Method method)
method - method