| 构造器和说明 |
|---|
VarHolderOfParam(AppContext ctx,
Parameter p,
Runnable onDone) |
| 限定符和类型 | 方法和说明 |
|---|---|
AppContext |
context()
应用上下文
|
Annotation[] |
getAnnoS()
注解
|
String |
getFullName()
获取完整名字
|
ParameterizedType |
getGenericType()
泛型(可能为 null)
|
Class<?> |
getType()
类型
|
Object |
getValue()
获取值
|
boolean |
isDone()
是否为完成的(设置值后即为完成态)
|
boolean |
isField()
是否为字段
|
boolean |
required()
是否必须
|
void |
required(boolean required)
设定必须
|
void |
setValue(Object val)
设置值
|
public VarHolderOfParam(AppContext ctx, Parameter p, Runnable onDone)
public AppContext context()
@Nullable public ParameterizedType getGenericType()
getGenericType 在接口中 VarHolderpublic Annotation[] getAnnoS()
public String getFullName()
getFullName 在接口中 VarHolderCopyright © 2024. All rights reserved.