@Deprecated
public class MethodParameter
extends java.lang.Object
| 构造器和说明 |
|---|
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