EzHookTool
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EzHookTool
core
/
io.github.lingqiqi5211.ezhooktool.core
/
field
field
fun
Any
.
field
(
fieldName
:
String
,
isStatic
:
Boolean
=
false
,
fieldType
:
Class
<
*
>
?
=
null
)
:
Field
按名称获取实例/静态字段。
val f = instance.field("mValue")
Content copied to clipboard
Parameters
field
Name
字段名
is
Static
是否按静态字段处理
field
Type
可选字段类型,用于进一步约束匹配结果