| 构造器和说明 |
|---|
VarHolderOfField(AppContext ctx,
FieldWrap fw,
Object obj,
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 VarHolderOfField(AppContext ctx, FieldWrap fw, Object obj, Runnable onDone)
public AppContext context()
@Nullable public ParameterizedType getGenericType()
getGenericType 在接口中 VarHolderpublic Annotation[] getAnnoS()
public String getFullName()
getFullName 在接口中 VarHolderCopyright © 2024. All rights reserved.